Intel

AIKIDO-2026-609248

mcp-contextforge-gateway is vulnerable to Authentication Bypass

Authentication BypassGHSA-hxq2-5h3j-jqjv Published 6 days ago

59

Medium Risk

This Affects:

PYTHONmcp-contextforge-gateway
0.0.1 - 1.0.4
Fixed in 1.0.5
Are you affected? Scan for Free

TL;DR

When session auth-context reuse is enabled, the gateway computes the reuse expiry from a fixed TTL and ignores the JWT exp claim. An expired token remains accepted for the duration of the configured reuse window. This creates an authentication window in which expired credentials continue to authenticate requests. The fix follows the token expiration when caching and reusing the authentication context.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you enable session auth-context reuse with public ingress access.

Background info

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

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