← All advisories

CVE-2026-138026highBroken access control2026-11-27

CVE-2026-138026: Crypto APIs MCP servers in HTTP mode listened on all interfaces with no auth, letting anyone use the operator's API key (fixed 0.4.0 / 0.5.0 / 0.2.0)

The @cryptoapis-io/mcp-* npm packages are MCP servers for the CryptoAPIs blockchain API. When started in Streamable HTTP mode with a startup --api-key, as their READMEs showed, they bound 0.0.0.0 and did not authenticate callers. Anyone who could reach the port could call every tool with the operator's key: spend paid credits, read account data, create or delete blockchain event subscriptions (redirecting payment notifications) and delete synced HD wallet xPubs. Funds could not be moved and the key itself was not returned. Fixed in 0.4.0 for most packages (0.5.0 for four, 0.2.0 for mcp-aml).

01.

What it is

CWE-306 missing authentication: npx @cryptoapis-io/mcp-<package> --transport http --port 3000 --api-key KEY exposed /mcp on all interfaces, and every request was made with the operator's CryptoAPIs key.

Impact per the advisory: spend credits and read data through the operator's account, create/deactivate/delete event subscriptions (mcp-blockchain-events), delete or re-sync HD wallets/xPubs (mcp-hd-wallet). Broadcasting needs a transaction already signed locally, so no funds can be moved.

Not affected: stdio mode (the default) and HTTP mode without a startup key, where each client sends its own x-api-key.

Fixed versions: 0.4.0 for mcp-address-history, mcp-address-latest, mcp-block-data, mcp-contracts, mcp-hd-wallet, mcp-market-data, mcp-simulate, mcp-transactions-data and mcp-utils; 0.5.0 for mcp-blockchain-events, mcp-blockchain-fees, mcp-broadcast and mcp-prepare-transactions; 0.2.0 for mcp-aml. HTTP mode now binds 127.0.0.1 with Host-header validation and refuses a non-loopback bind with a startup key unless MCP_AUTH_TOKEN/--auth-token is set (Bearer auth).

GitHub advisory GHSA-mhj6-wq83-cqf5 was published 25 September 2026; NVD published CVE-2026-138026 on 27 November 2026. Reported by Syed Anas Mohiuddin.

02.

How to check

  1. List installed versions: npm ls -g | grep @cryptoapis-io/mcp- and check your MCP configs or container commands for --transport http with --api-key.
  2. If an affected HTTP server may have been reachable, review CryptoAPIs dashboard usage, your blockchain event subscriptions (callback URLs) and synced wallets.
03.

How to fix

  1. Upgrade every @cryptoapis-io/mcp-* package to its fixed version or later.
  2. For remote use, start with --host 0.0.0.0 only together with MCP_AUTH_TOKEN and have clients send the bearer token; otherwise bind 127.0.0.1.
  3. Rotate the CryptoAPIs API key if the port was ever exposed.
npm ls -g --depth=0 2>/dev/null | grep '@cryptoapis-io/mcp-'
# safe remote start after upgrading
MCP_AUTH_TOKEN=$(openssl rand -hex 32) npx @cryptoapis-io/mcp-hd-wallet@latest --transport http --host 0.0.0.0 --api-key "$CRYPTOAPIS_KEY"
04.

Sources

More advisories for this tool
The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.