CVE-2025-66454: Arcade mcp server Arcade-mcp-server Has Default Hardcoded Worker Vulnerability

MODERATE
Advisory Identifier: GHSA-g2jx-37x6-6438
CVSS 6.5
CWE-321 CWE-284
Published
Advisory Summary

CVE-2025-66454 is a MODERATE (CVSS 6.5) arcade-mcp-server has default hardcoded worker vulnerability (CWE-321: Use of Hard-coded Cryptographic Key) affecting Arcade mcp server libraries in the PyPI ecosystem. The issue involves arcade-mcp-server has default hardcoded worker secret that allows full unauthorized access to all http mcp worker endpoints. Remediation is available by upgrading affected packages to version 1.9.1.

CVE-2025-66454 at a Glance

CVE Identifier CVE-2025-66454
GHSA Identifier GHSA-g2jx-37x6-6438
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-321: Use of Hard-coded Cryptographic Key
Affected Product Arcade mcp server
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2025-66454

To remediate this vulnerability, upgrade all affected Arcade mcp server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

arcade-mcp-server fixed: 1.9.1
pip install arcade-mcp-server>=1.9.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show arcade-mcp-server

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2025-66454, inspect your installed packages using pip:

pip show arcade-mcp-server

Analyze the terminal output to locate any version of Arcade mcp server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.9.1), your application is affected.

Note: The pip show arcade-mcp-server command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-321: Use of Hard-coded Cryptographic Key, where the product uses a hard-coded, unchangeable cryptographic key. In Arcade mcp server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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.

CVE-2025-66454 Affected Arcade mcp server Versions

1 component(s)
Fixed Versions:
1.9.1
Product / Package Ecosystem Affected Versions Fixed Version
arcade-mcp-server
PyPI
< 1.9.1
1.9.1

References

Frequently Asked Questions

What is CVE-2025-66454?
CVE-2025-66454 is a security vulnerability in Arcade mcp server involving arcade-mcp-server Has Default Hardcoded Worker Secret That Allows Full Unauthorized Access to All HTTP MCP Worker Endpoints under CWE-321: Use of Hard-coded Cryptographic Key.
Which Arcade mcp server versions are affected?
Affected versions include releases prior to 1.9.1 across affected packages: arcade-mcp-server.
What version fixes CVE-2025-66454?
Upgrading to 1.9.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is arcade-mcp-server affected?
Yes, arcade-mcp-server is affected in releases prior to 1.9.1. Upgrade your dependency to 1.9.1 or later.
What is the CVSS score of CVE-2025-66454?
CVE-2025-66454 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2025-66454?
CVE-2025-66454 is classified under CWE-321: Use of Hard-coded Cryptographic Key (The product uses a hard-coded, unchangeable cryptographic key.).
How can I check PyPI dependencies for CVE-2025-66454?
Run the dependency tree command: 'pip show arcade-mcp-server'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-g2jx-37x6-6438",
  "modified" : "2025-12-02T21:44:00Z",
  "published" : "2025-12-02T17:55:44Z",
  "aliases" : [ "CVE-2025-66454" ],
  "summary" : "arcade-mcp-server Has Default Hardcoded Worker Secret That Allows Full Unauthorized Access to All HTTP MCP Worker Endpoints",
  "details" : "### 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "arcade-mcp-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.9.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ArcadeAI/arcade-mcp/security/advisories/GHSA-g2jx-37x6-6438"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-66454"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ArcadeAI/arcade-mcp/pull/691"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ArcadeAI/arcade-mcp/commit/44660d18ceb220600401303df860a31ca766c817"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ArcadeAI/arcade-mcp/commit/7fb097f20fbea35e382a1b78da6fd90609c55a9e"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ArcadeAI/arcade-mcp"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284", "CWE-321" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-02T17:55:44Z",
    "nvd_published_at" : "2025-12-02T19:15:52Z"
  }
}