CVE-2026-53709CWE-1188CWE-287CWE-321CWE-798hardcoded-credentials
CVE-2026-53709
Critical · published October 13, 2026
What it is
MCP Context Forge is an MCP gateway and administrative platform. Prior to 1.0.2, mcpgateway/config.py and .env.example ship a known JWT_SECRET_KEY, while verify_jwt_token() accepts HS256 tokens signed with that key and get_current_user() creates a platform administrator when the token subject matches PLATFORM_ADMIN_EMAIL and REQUIRE_USER_IN_DB is false. A remote unauthenticated attacker can therefore mint accepted administrator tokens without a database account. While the vulnerable signing key remains configured and the platform-admin bootstrap remains enabled, forged access survives password rotation, account deletion, and session revocation, allowing administrative disclosure, modification, and service disruption. This issue is fixed in version 1.0.2.
The record
Technical detail
- CVSS v3.1
- 9.8 · CRITICAL
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v4.0
- Not supplied
- EPSS
- 0.00603 · 48.2th percentile
- Weaknesses
- CWE-1188 · Initialization of a Resource with an Insecure Default; CWE-287 · Improper Authentication; CWE-321 · Use of Hard-coded Cryptographic Key; CWE-798 · Use of Hard-coded Credentials
- Published
- 2026-10-13T19:17Z
References (3)
EPSS history
Timeline
15 OCT 03:32Z
EPSS moved — → 0%
epss
13 OCT 14:32Z
MCP Context Forge: Hardcoded default JWT_SECRET_KEY shipped in source and .env.example enables pre-authentication platform admin token forgery
cvelistv5
13 OCT 14:32Z
MCP Context Forge: Hardcoded default JWT_SECRET_KEY shipped in source and .env.example enables pre-authentication platform admin token forgery
cvelistv5