Intel

AIKIDO-2026-930838

mcp-contextforge-gateway is vulnerable to Authentication Bypass

Authentication BypassGHSA-5424-f25v-29r8 Published 6 days ago

89

High Risk

This Affects:

PYTHONmcp-contextforge-gateway
0.0.1 - 1.0.6
Fixed in 1.0.7
Are you affected? Scan for Free

TL;DR

The gateway signs JWTs with the literal default secret changeme when JWT_SECRET_KEY is left unset. The startup validation that would reject this weak secret is skipped in development mode, which is the default environment. Any network-accessible party can forge tokens with arbitrary identities and bypass authentication to reach administrative functions. The fix enforces secret validation in the default environment and rejects the known weak default.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run with default settings where JWT_SECRET_KEY is unset and development mode is enabled.

Background info

mcp-contextforge-gateway is vulnerable to Authentication Bypass in versions 0.0.1 - 1.0.6.

How to fix this

Upgrade the mcp-contextforge-gateway library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform