{"id":"CVE-2025-66454","aliases":["CVE-2025-66454","GHSA-g2jx-37x6-6438","PYSEC-2026-1192"],"related":[],"kind":"vulnerability","state":"published","title":"Arcade MCP Default Hardcoded Worker Secret Allows Full Unauthorized Access to All HTTP MCP Worker Endpoints","summary":"Arcade MCP allows you to to create, deploy, and share MCP Servers. Prior to 1.5.4, 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. This vulnerability is fixed in 1.5.4.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Arcade MCP allows you to to create, deploy, and share MCP Servers. Prior to 1.5.4, 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. This vulnerability is fixed in 1.5.4.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nThe 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.\n\nAnyone following the official quick-start guide is vulnerable unless they manually override ARCADE_WORKER_SECRET.\n\n### Details\n\nThe documented method for launching an HTTP MCP server (python server.py http) implicitly sets the worker secret to the hardcoded default \"dev\":\n\nArcadeSettings.server_secret defaults to \"dev\"\n(libs/arcade-mcp-server/arcade_mcp_server/settings.py:129–158)\n\ncreate_arcade_mcp() passes this value directly to FastAPIWorker without validation\n(libs/arcade-mcp-server/arcade_mcp_server/worker.py:118–188)\n\nBaseWorker._set_secret() accepts this value and does not enforce rotation\n(libs/arcade-serve/arcade_serve/core/base.py:42–83)\n\nBecause the worker’s signing key is constant and publicly documented, attackers can trivially generate valid HS256 JWTs:\n\nThe FastAPI worker auth middleware (arcade_serve/fastapi/auth.py) trusts any JWT signed with the worker secret.\n\nThe core auth layer (arcade_serve/core/auth.py) does not distinguish forged tokens from legitimate ones.\n\nThe 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.\n\nAs 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.\n\nThis CVE was resolved by https://github.com/ArcadeAI/arcade-mcp/pull/691\n\n### PoC\n\nStart the server using the official guide\nhttps://docs.arcade.dev/en/home/build-tools/create-a-mcp-server\n\nVerify that unauthenticated access is rejected (expected)\n```\ncurl -s -D - http://127.0.0.1:8000/worker/tools\n# → 403 Forbidden\n```\n\nForge a valid HS256 token using the hardcoded default secret \"dev\"\n```\nimport jwt\nprint(jwt.encode({'ver': '1', 'aud': 'worker'}, 'dev', algorithm='HS256'))\n```\n\nUse the forged token to bypass authentication\n```\ncurl -s -D - \\\n  -H \"Authorization: Bearer $(cat /tmp/forged_token.txt)\" \\\n  http://127.0.0.1:8000/worker/tools\n```\n\nResult:\nThe server responds 200 OK with the full tool catalog and allows invocation of all worker tools.\n\nServer logs show a rejected request immediately followed by a successful forged request, confirming the bypass.\n\n### Impact\n\nThis is an authentication bypass that results in full remote access to all MCP worker endpoints:\n\nUnauthenticated attackers can enumerate tools\n\nInvoke arbitrary tools remotely\n\nAccess any data returned by tools (including secrets loaded into ToolContext)\n\nExecute actions inside internal systems if tools expose operational capabilities\n\nPerform these actions without any brute forcing or guesswork due to the known default signing key\n\nAny user who follows the official setup guide is exposed unless they manually override ARCADE_WORKER_SECRET, which is not documented.\n\nThis vulnerability effectively gives complete remote control over the MCP worker API to any attacker aware of the default key.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Arcade MCP permite crear, desplegar y compartir servidores MCP. Versiones anteriores a 1.5.4, el servidor HTTP arcade-mcp utiliza un secreto de trabajador predeterminado codificado (“dev”) que nunca se valida ni se sobrescribe durante el inicio normal del servidor. Como resultado, cualquier atacante no autenticado que conozca esta clave predeterminada puede falsificar JWT válidos y eludir completamente la capa de autenticación de FastAPI. Esto otorga acceso remoto a todos los endpoints de trabajador -incluyendo la enumeración e invocación de herramientas- sin credenciales. Esta vulnerabilidad se ha corregido en la versión 1.5.4.","source":"nvd"}],"published":"2025-12-02T17:55:44.000Z","modified":"2026-10-18T18:10:00.100Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-284","CWE-321","CWE-798"],"affected":[{"ranges":[{"version":"< 1.5.4","status":"affected"}],"vendor":"ArcadeAI","product":"arcade-mcp","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.9.1"}],"ecosystem":"PyPI","package":"arcade-mcp-server","purl":"pkg:pypi/arcade-mcp-server","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.9.1"}],"ecosystem":"PyPI","package":"arcade-mcp-server","purl":"pkg:pypi/arcade-mcp-server","source":"pysec"}],"references":[{"url":"https://github.com/ArcadeAI/arcade-mcp/security/advisories/GHSA-g2jx-37x6-6438","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/ArcadeAI/arcade-mcp/pull/691","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/ArcadeAI/arcade-mcp/commit/44660d18ceb220600401303df860a31ca766c817","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66454","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/ArcadeAI/arcade-mcp/commit/7fb097f20fbea35e382a1b78da6fd90609c55a9e","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/ArcadeAI/arcade-mcp","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/arcade-mcp-server","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-g2jx-37x6-6438","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-12-02T19:28:19.190Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-66454","url":"https://www.cve.org/CVERecord?id=CVE-2025-66454","licence":"CVE Terms of Use","modified":"2025-12-02T19:28:27.762Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g2jx-37x6-6438","url":"https://github.com/advisories/GHSA-g2jx-37x6-6438","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:36.743Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-66454","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66454","licence":"Public domain","modified":"2026-10-18T18:10:00.100Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1192","url":"https://osv.dev/vulnerability/PYSEC-2026-1192","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:11.010Z"}],"updatedAt":"2026-11-25T22:59:08.209Z","epss":{"score":0.0039,"percentile":0.35202,"date":"2026-12-01T12:00:22.000Z"}}