Answers · MCP security
We run some of the CryptoAPIs MCP servers (the cryptoapis-io npm packages, like mcp-blockchain-events and mcp-hd-wallet) in HTTP mode with our API key so our agents can query blockchain data. CVE-2026-138026 came out on November 27, 2026. Could someone else have used our key, what could they do, which versions fix it, and what should we check?
Last updated
TL;DR: Yes, if you started a server in HTTP mode with --api-key, as the package READMEs showed. Before the fixed versions it listened on all network interfaces and didn't authenticate callers, so anyone who could reach the port could call every tool with your CryptoAPIs key. CVE-2026-138026 (GHSA-ch93-chgh-635m, CVSS 3.1 score 7.3) lists what that allowed: spending your paid credits and reading account data, creating, switching off or deleting blockchain event subscriptions (so payment notifications could stop or new ones could go to an attacker's callback URL), and deleting or re-syncing synced HD wallet xPubs. The vendor says the key itself was never returned and no funds could move, because broadcasting needs a transaction you already signed and signing is local only. Stdio mode, and HTTP mode without a startup key, didn't expose your key. The fix shipped on September 24, 2026 (0.4.0 for most packages, 0.5.0 for mcp-blockchain-events, mcp-blockchain-fees, mcp-broadcast and mcp-prepare-transactions, 0.2.0 for mcp-aml); the CVE only followed on November 27.
What should I check, step by step?
1. List every CryptoAPIs MCP package you run and its version. Upgrade anything below the fixed versions; on November 29, 2026 npm listed 0.6.0 for mcp-blockchain-events and 0.5.0 for mcp-hd-wallet and mcp-address-history.
- If you can't upgrade at once, start HTTP mode with --host set to the loopback address, or run it without --api-key so each client sends its own key, or close the port with a firewall or network policy.
- After upgrading, a server reached from another machine or container needs --host set explicitly and an auth token (MCP_AUTH_TOKEN or --auth-token), and clients must send it as a bearer token. Use --allowed-hosts on non-loopback binds.
- If the port could have been reached by anyone else, review your CryptoAPIs dashboard for usage you don't recognise, and rotate the API key.
- Check your blockchain event subscriptions for missing, switched-off or new ones, and confirm every callback URL is yours.
- Check that your synced HD wallets and xPubs are still there and haven't been re-synced unexpectedly.
- Keep a dated record of the versions, the startup flags and the usage you reviewed, so you can show what was exposed and when it was closed.
What did CVE-2026-138026 expose in the CryptoAPIs MCP servers?
The CryptoAPIs MCP servers wrap CryptoAPIs' blockchain data and transaction APIs as MCP tools. The package READMEs showed how to run them in HTTP mode with a transport flag, a port and the operator's API key on the command line.
- In that mode the server bound to every network interface and accepted any caller on its MCP endpoint. Every tool call went out with the operator's key, so an exposed Docker or Kubernetes port, a shared VPC or a loose security group was enough for someone else to use it.
- What a caller could do depends on the package: spend credits and read data through the account, create, switch off or delete event subscriptions in mcp-blockchain-events, or delete and re-sync HD wallets and xPubs in mcp-hd-wallet. The vendor's advisory says the key was never sent back to callers and funds couldn't be moved, since signing only happens locally in the stdio-only mcp-signer.
Which CryptoAPIs MCP setups were affected, and which versions fix it?
Only HTTP mode with a startup key was exposed. Stdio, the usual way to run these servers, didn't listen on the network at all, and HTTP mode without a startup key made each client send its own key in the x-api-key header.
- The fixed versions were published to npm on September 24, 2026: 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 at 0.4.0; mcp-blockchain-events, mcp-blockchain-fees, mcp-broadcast and mcp-prepare-transactions at 0.5.0; and mcp-aml at 0.2.0.
- HTTP mode now listens only on the loopback address unless told otherwise and checks the Host header against DNS rebinding. It refuses to start on another address with a startup key unless an auth token is set, and in per-request key mode it answers 401 to calls without x-api-key. Deployments reached from another machine have to be reconfigured, so check them after upgrading.
Why does the November CVE matter for an older CryptoAPIs MCP install?
The vendor's advisory was published on September 25, 2026, the day after the fix. GitHub's advisory database entry and the CVE number followed on November 27, 2026, so dependency scanners may only now be flagging old versions.
- If one of these servers ran in HTTP mode with your key on a reachable port at any point before you upgraded, assume the exposure window ran until the upgrade, not until the CVE date, and review usage and subscriptions over that whole period.
- The broader lesson applies to any MCP server that holds a paid API key: in HTTP mode the server is spending money on behalf of whoever can reach it. Keep it on localhost or behind authentication, and give it a key with the narrowest permissions and spending limits the provider offers.
How do I ask Rightshold about this (free, no key)?
Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “After upgrading our CryptoAPIs MCP servers and rotating the key, record a receipt with a hash of the versions, startup flags and the usage review, so we can show when the exposure was closed.”
{
"tool": "record_action",
"arguments": {
"action_type": "security.config_change",
"outcome": "success",
"occurred_at": "2026-11-29T20:00:00Z",
"client_event_id": "cryptoapis-mcp:cve-2026-138026:remediation",
"summary": "CryptoAPIs MCP packages upgraded to fixed versions; HTTP mode bound to loopback or behind MCP_AUTH_TOKEN bearer auth with allowed hosts; API key rotated; dashboard usage, event subscriptions and synced HD wallets reviewed",
"action_sha256": "<sha256 of the version list, startup flags and usage review notes>"
}
}- Needs your API key (or accept_terms:true once to open a free account; the key comes back once). It returns a ledger-committed receipt of what you submitted and when, kept outside your servers and your CryptoAPIs account.
- It doesn't scan your servers or read your CryptoAPIs account. It shows the notes you hashed existed at that time and haven't changed since.
Rightshold isn't affiliated with CryptoAPIs. Details are from GitHub's advisory database entry GHSA-ch93-chgh-635m (CVE-2026-138026), the vendor's repository advisory GHSA-mhj6-wq83-cqf5 and the mcp-address-history 0.4.0 release, with versions and dates from the npm registry, all read November 29, 2026. Advisories get updated; confirm affected and fixed versions on the linked pages.
What are the sources?
- GitHub Advisory Database: GHSA-ch93-chgh-635m / CVE-2026-138026, CryptoAPIs MCP servers missing authentication in HTTP mode
- CryptoAPIs security advisory GHSA-mhj6-wq83-cqf5: unauthenticated access to CryptoAPIs MCP servers in HTTP mode spends the operator's API key
- CryptoAPIs mcp-address-history v0.4.0 release (September 24, 2026)
Related
- Is it safe to run an MCP server in HTTP mode without authentication?
- How to protect a local MCP server from DNS rebinding
- How to keep API keys and tokens out of mcp.json and Claude Desktop config files
- Who is responsible for the bill when a stolen AI API key runs up charges?
Not legal advice. JSON · Markdown · All answers
Get a free API key in one call
No card and no email needed. 100 free credits; the license and policy checks stay free without a key.
curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_... # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
-H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'
