{"id":"CVE-2026-53709","summary":"MCP Context Forge: Hardcoded default JWT_SECRET_KEY shipped in source and .env.example enables pre-authentication platform admin token forgery","details":"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.","aliases":["GHSA-m8rv-5m6m-32ff"],"modified":"2026-10-15T02:47:33.776279198Z","published":"2026-10-13T14:32:12.137Z","database_specific":{"cwe_ids":["CWE-1188","CWE-287","CWE-321","CWE-798"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53709.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/IBM/mcp-context-forge/releases/tag/v1.0.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53709.json"},{"type":"ADVISORY","url":"https://github.com/IBM/mcp-context-forge/security/advisories/GHSA-m8rv-5m6m-32ff"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53709"},{"type":"FIX","url":"https://github.com/IBM/mcp-context-forge/commit/2af690f894b6e35f5f21190fdab1505f023a5272"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ibm/mcp-context-forge","events":[{"introduced":"0"},{"fixed":"2af690f894b6e35f5f21190fdab1505f023a5272"},{"fixed":"e0967e65cd381374682751da630e2cc2fb3a9c34"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.0.2"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v1.0.1","v1.0.0","v1.0.0-RC-3","v1.0.0-RC2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53709.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}