NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · Other MCP servers and tools

CVE-2025-66454: arcade-mcp-server Has Default Hardcoded Worker Secret That Allows Full Unauthorized Access to All HTTP MCP Worker Endpoints

mediumCVSS 3.1 6.5GHSA-g2jx-37x6-6438

arcade-mcp-server before 1.9.1 signs worker JWTs with a hardcoded default secret, "dev". Anyone who knows it can forge a valid token and call every `/worker/*` endpoint, listing and running tools with no credentials. Servers started as in the quick-start guide are affected. Upgrade to 1.9.1 and set `ARCADE_WORKER_SECRET`.

Published Dec 2, 2025 · Analysis Nov 1, 2026

What an attacker can do

ArcadeSettings.server_secret defaults to "dev" in settings.py. create_arcade_mcp() passes it to FastAPIWorker unchecked, and BaseWorker._set_secret() does not force a change. The worker auth middleware in arcade_serve/fastapi/auth.py accepts any HS256 JWT signed with that secret, and the core auth layer cannot tell a forged token from a real one.

The attacker needs only network access to the HTTP worker port and the fact that the key is "dev". The advisory's proof of concept signs {'ver': '1', 'aud': 'worker'} with dev using PyJWT. An unauthenticated GET /worker/tools returns 403, and the same request with the forged bearer token returns 200 with the tool catalog.

From there the attacker can run any registered tool. They can read what the tools return, including secrets loaded into ToolContext, and act inside internal systems if the tools allow it. Because the quick-start guide explains tool secrets in .env but not worker-secret rotation, servers deployed by following it are exposed. How much damage follows depends on the tools you registered.

Who is affected

arcade-mcp-server below 1.9.1, running the HTTP worker (for example python server.py http) without ARCADE_WORKER_SECRET set to a private value. A server that already sets a strong secret is not open to this forgery. stdio use is not covered by the advisory.

pip show arcade-mcp-server

arcade-mcp-server

Ecosystem
PyPI
Affected
< 1.9.1
Fixed in
1.9.1
Check
pip show arcade-mcp-server

How to fix it

Upgrade to arcade-mcp-server 1.9.1:

pip install --upgrade "arcade-mcp-server>=1.9.1"

The fix is pull request 691 in the arcade-mcp repository. Whatever the version, set ARCADE_WORKER_SECRET to a long random value, and rotate it if the old server was reachable by anyone untrusted. Do not expose the worker port to the internet without a network control in front of it.

How to tell if you were hit

Check each HTTP worker's environment: if ARCADE_WORKER_SECRET is unset or equals dev, treat the server as open. Test it yourself by signing a token with dev and calling /worker/tools; a 200 means it is vulnerable. In server logs, look for 200 responses on /worker/* from addresses that are not your Arcade engine or clients, and tool invocations you cannot account for. The advisory notes the logs show a rejected request followed by a successful one when a forged token is used.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

The arcade-mcp HTTP server uses a hardcoded default worker secret ("dev") that is never validated or overridden during normal server startup. As a result, any unauthenticated attacker who knows this default key can forge valid JWTs and fully bypass the FastAPI authentication layer. This grants remote access to all worker endpoints—including tool enumeration and tool invocation—without credentials.

Anyone following the official quick-start guide is vulnerable unless they manually override ARCADE_WORKER_SECRET.

Details

The documented method for launching an HTTP MCP server (python server.py http) implicitly sets the worker secret to the hardcoded default "dev":

ArcadeSettings.server_secret defaults to "dev" (libs/arcade-mcp-server/arcade_mcp_server/settings.py:129–158)

create_arcade_mcp() passes this value directly to FastAPIWorker without validation (libs/arcade-mcp-server/arcade_mcp_server/worker.py:118–188)

BaseWorker._set_secret() accepts this value and does not enforce rotation (libs/arcade-serve/arcade_serve/core/base.py:42–83)

Because the worker’s signing key is constant and publicly documented, attackers can trivially generate valid HS256 JWTs:

The FastAPI worker auth middleware (arcade_serve/fastapi/auth.py) trusts any JWT signed with the worker secret.

The core auth layer (arcade_serve/core/auth.py) does not distinguish forged tokens from legitimate ones.

The official quick-start instructions (README.md:164–190) demonstrate launching an MCP server without mentioning worker-secret rotation. Users are told how to define tool secrets in .env, but not that the worker’s authentication key must be changed.

As a result, servers deployed following the documented workflow expose all /worker/* endpoints to anyone capable of generating a simple HS256 token using the known key.

This CVE was resolved by https://github.com/ArcadeAI/arcade-mcp/pull/691

PoC

Start the server using the official guide https://docs.arcade.dev/en/home/build-tools/create-a-mcp-server

Verify that unauthenticated access is rejected (expected)

curl -s -D - http://127.0.0.1:8000/worker/tools
# → 403 Forbidden

Forge a valid HS256 token using the hardcoded default secret "dev"

import jwt
print(jwt.encode({'ver': '1', 'aud': 'worker'}, 'dev', algorithm='HS256'))

Use the forged token to bypass authentication

curl -s -D - \
  -H "Authorization: Bearer $(cat /tmp/forged_token.txt)" \
  http://127.0.0.1:8000/worker/tools

Result: The server responds 200 OK with the full tool catalog and allows invocation of all worker tools.

Server logs show a rejected request immediately followed by a successful forged request, confirming the bypass.

Impact

This is an authentication bypass that results in full remote access to all MCP worker endpoints:

Unauthenticated attackers can enumerate tools

Invoke arbitrary tools remotely

Access any data returned by tools (including secrets loaded into ToolContext)

Execute actions inside internal systems if tools expose operational capabilities

Perform these actions without any brute forcing or guesswork due to the known default signing key

Any user who follows the official setup guide is exposed unless they manually override ARCADE_WORKER_SECRET, which is not documented.

This vulnerability effectively gives complete remote control over the MCP worker API to any attacker aware of the default key.

Credited to qi-scape.

Questions

Am I affected if I followed the Arcade quick-start guide?

Yes, if you are on a version before 1.9.1 and did not override ARCADE_WORKER_SECRET. The advisory says the guide does not mention changing the worker secret.

Does upgrading to 1.9.1 replace my secret?

The advisory only says 1.9.1 resolves the issue through pull request 691. Check your environment anyway and set ARCADE_WORKER_SECRET to a random value you control.

What can a forged token do?

It passes the worker authentication layer, so the holder can enumerate tools and invoke them. The advisory also lists reading data the tools return, including secrets in ToolContext.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More Other MCP servers and tools vulnerabilities

All Other MCP servers and tools entries