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.
Published: 2026-10-13
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote privileged access via forged JWT tokens
Action: Apply patch
AI Analysis

Impact

MCP Context Forge shipped a default JWT secret key in its code base and example environment file up to version 1.0.1. The token verification routine accepted HS256 tokens signed with this known key and automatically promoted any user whose token subject matched the platform administrator email to an administrative account when the database check was disabled. Consequently, an unauthenticated attacker could create a valid administrator JWT and gain unrestricted control over the platform, enabling disclosure, modification, and disruption of administrative resources. These weaknesses correspond to missing login authority, improper authorization, weak encryption key management, and insecure default configuration.

Affected Systems

IBM’s MCP Context Forge gateway and administrative platform prior to version 1.0.2 is affected. Any deployment that has not applied the 1.0.2 release or newer, and still uses the shipped hard‑coded JWT secret or has the platform-admin bootstrap enabled, is vulnerable.

Risk and Exploitability

The CVSS base score of 9.8 classifies this as critical, and the EPSS score is not provided, implying no publicly known exploitation trends. The vulnerability is remote and does not require authentication; an attacker only needs to craft a JWT signed with the default key, which is embedded in the source code and example configuration. Even after password rotations, account deletion, or session revocation, forged tokens continue to grant administrative access as long as the default key remains in effect. Because the vulnerability is not listed in KEV, there is no known active exploitation, but the high severity and ease of exploitation make it a high‑priority risk for all installations awaiting the patch.

Generated by OpenCVE AI on October 13, 2026 at 17:31 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MCP Context Forge to version 1.0.2 or later to remove the hard‑coded JWT secret and the automatic platform‑admin bootstrap.
  • If an upgrade cannot be performed immediately, replace the default JWT_SECRET_KEY in the configuration with a unique, strong, randomly generated key and disable REQUIRE_USER_IN_DB to prevent automatic admin user creation.
  • Restrict external network access to the MCP gateway while the vulnerability remains unpatched to limit the attack surface for forged JWT exploitation.

Generated by OpenCVE AI on October 13, 2026 at 17:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 17 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 13 Oct 2026 15:00:00 +0000

Type Values Removed Values Added
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.
Title MCP Context Forge: Hardcoded default JWT_SECRET_KEY shipped in source and .env.example enables pre-authentication platform admin token forgery
Weaknesses CWE-1188
CWE-287
CWE-321
CWE-798
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-16T21:59:50.970Z

Reserved: 2026-06-10T16:43:31.241Z

Link: CVE-2026-53709

cve-icon Vulnrichment

Updated: 2026-10-16T21:59:44.835Z

cve-icon NVD

Status : Deferred

Published: 2026-10-13T15:17:44.873

Modified: 2026-10-16T22:17:23.737

Link: CVE-2026-53709

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T17:45:17Z

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