CVE-2026-53709

9.8Critical

Published Oct 13, 2026 · NVD status: Received · AI triage by gemini-3.8-flash

9.8CVSS

Critical

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
Full C/I/A compromise
Weakness
CWE-287, CWE-321, CWE-798, CWE-1188

What an attacker gets

Remote unauthenticated attackers can gain full platform administrative access by forging HS256 JWTs using a hardcoded signing key. They only need network access to the MCP gateway.

Root cause

The service ships with a hardcoded default JWT_SECRET_KEY and automatically grants admin rights to tokens matching PLATFORM_ADMIN_EMAIL when REQUIRE_USER_IN_DB is false.

Affected versions

MCP Context Forge prior to 1.0.2

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Fix & remediation

Upgrade MCP Context Forge to version 1.0.2 or later. If updating immediately is not possible, rotate JWT_SECRET_KEY to a secure random value and set REQUIRE_USER_IN_DB=true in your environment configuration.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-53709

More fully triaged vulnerabilities you may want to check next.