PT-2026-111628
CVE-2026-53709
·
Published
2026-10-13
·
Updated
2026-11-25
Description by
CVSS 3.1
9.8
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
MCP Context Forge versions prior to 1.0.2
Description
An issue exists where the software ships with a known
JWT SECRET KEY in mcpgateway/config.py and .env.example. The verify jwt token() function accepts HS256 tokens signed with this key, and the get current user() function creates a platform administrator if the token subject matches PLATFORM ADMIN EMAIL and REQUIRE USER IN DB is set to false. This allows a remote unauthenticated attacker to create administrator tokens without a database account. If the signing key remains configured and the platform-admin bootstrap is enabled, this access persists despite password rotation, account deletion, or session revocation, potentially leading to administrative disclosure, modification, and service disruption.Recommendations
Update to version 1.0.2.
Change the
JWT SECRET KEY to a unique, secure value.
Set REQUIRE USER IN DB to true to ensure users are validated against the database. Found an issue in the description? Have something to add? Feel free to write us 👾