Server-side Request Forgery (SSRF) Affecting mcp-contextforge-gateway package, versions [,1.0.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.35% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-MCPCONTEXTFORGEGATEWAY-20158879
  • published27 Sept 2026
  • disclosed14 Aug 2026
  • creditUnknown

Introduced: 14 Aug 2026

CVE-2026-53708  (opens in a new tab)
CWE-350  (opens in a new tab)
CWE-367  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade mcp-contextforge-gateway to version 1.0.3 or higher.

Overview

mcp-contextforge-gateway is a ContextForge AI Gateway — an AI gateway, registry, and proxy for MCP, A2A, and REST/gRPC APIs. Exposes a unified control plane with centralized governance, discovery, and observability. Optimizes agent and tool calling, and supports plugins.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) in the /admin/gateways/test endpoint due to a race condition between DNS resolution at validation time and at connection time, allowing DNS rebinding. An attacker can access internal network resources and potentially retrieve sensitive cloud credentials by submitting a crafted URL and manipulating DNS responses between validation and connection. This is only exploitable if the MCPGATEWAY_ADMIN_API_ENABLED configuration is set to true and the attacker possesses a credential with the gateways.read permission assigned via a database role.

CVSS Base Scores

version 4.0
version 3.1