{"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-11-06T10:46:27.671625757Z","published":"2026-10-13T14:32:12.137Z","database_specific":{"cna_assigner":"GitHub_M","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"},"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":"ece0c811e11646bed43c677ef676860e5a2a3763"},{"fixed":"2af690f894b6e35f5f21190fdab1505f023a5272"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"1.0.2"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"2af690f894b6e35f5f21190fdab1505f023a5272"}]},{"source":"REFERENCES_TAG","original_tag":"v1.0.2","range":[{"fixed":"ece0c811e11646bed43c677ef676860e5a2a3763"}]}]}}],"versions":["v1.0.1","v1.0.0","v1.0.0-RC-3","v1.0.0-RC2","v0.6.0","v0.5.0","v0.4.0","v0.3.1","v0.3.0","v0.2.0","v0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53709.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}