@cardano402/mcp-server missing spending limits, LAN-exposed HTTP transport, and SSRF via catalog.server.url
GHSA-rp72-5v5q-2446 · published 2026-06-26
- Severity
- Low
- CVSS score
- Not scored
- Chance of exploitation (EPSS)
- No CVE
- Fixed in
- 0.1.2
@cardano402/mcp-server versions <= 0.1.1 ship three security gaps that can lead to unauthorized fund movement when the package is used as designed (an MCP server exposing Cardano payment tools to an
Upgrade @cardano402/mcp-server to 0.1.2 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
Fixed in @cardano402/[email protected]: Per-call and per-day spending limits (default 5 ADA / 50 ADA) + optional recipient allowlist + MCP elicitation/create confirmation hook. HTTP transport defaults to 127.0.0.1; non-loopback requires --http-bearer-token; per-request Origin allowlist + bearer check. catalog.server.url validated against private-CIDR rules (RFC1918, RFC4193, link-local, CGNAT, multicast, IPv4-mapped IPv6, loopback) unless CARDANO402ALLOWINSECURE=true. endpoint.path rejected if it contains .., NUL, whitespace/CRLF, an absolute URL, or //host/.... Per-tool mainnet opt-in via --mainnet-confirmed-tools.
Do not run with --transport http on an untrusted network; use --transport stdio (default). Only point the server at catalogs you control or have audited. Use a low-balance hot wallet, never your main wallet. Avoid MAINNET=true until upgraded to 0.1.2.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| @cardano402/mcp-server | npm | <= 0.1.1 | 0.1.2 |
- CriticalMCP Path Traversal Allows Full-Filesystem Read and JWT Secret Exfiltration Leading to Account Takeoverlangflow, langflow-base
- Critical@zereight/mcp-gitlab: Unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover@zereight/mcp-gitlab
- CriticalFlowise RCE via SQL Database Chain Nodeflowise, flowise-components
- CriticalLangroid: SQLChatAgent dangerous-function blocklist can be bypassed with quoted or schema-qualified pg_read_file callslangroid
- Criticalfast-mcp-telegram: Bearer token path traversal bypasses reserved Telegram session protectionfast-mcp-telegram
- CriticalMCP Toolbox HTTP tool path parameters allow traversal to unintended endpointsgithub.com/googleapis/mcp-toolbox
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.