Intel

AIKIDO-2026-475738

mcp-contextforge-gateway is vulnerable to SQL Injection

SQL InjectionGHSA-9qxh-fpx5-vxvw Published 6 days ago

88

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

Two security plugins validate input with regular expressions and string matching whose view of the data diverges from the executor grammar. The SQL sanitizer can be bypassed with crafted string literals and comments to run privilege changes, table drops, and mass deletions. The resource filter can be bypassed through URL userinfo parsing differences to reach internal network destinations. The fix replaces the string checks with parser-based validation so the plugin and executor agree on the input.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you rely on the SQL sanitizer or resource filter plugins to enforce security policy.

Background info

mcp-contextforge-gateway is vulnerable to SQL Injection 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