CVE-2026-53710IBM mcp-context-forge
Unauthenticated Remote Code Execution in IBM MCP Context Forge
Critical 10.0 No auth needed
Follow: this CVE · IBM · IBM mcp-context-forge We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.1
- 10.0
- EPSS
- —
- Auth required
- No
- Published
- Sep 15, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
What happens
The python_sandbox_server in IBM MCP Context Forge prior to 1.0.2 exposes dangerous Python functions without proper protection. An unauthenticated attacker can construct special names at runtime to access subprocess.Popen and execute OS commands with server process privileges through the execute_code MCP tool.
Show the original NVD text
MCP Context Forge is an AI gateway, registry, and proxy for MCP, A2A, REST, and gRPC APIs. Prior to 1.0.2, the python_sandbox_server in mcp-servers/python/python_sandbox_server/src/python_sandbox_server/server_fastmcp.py exposes raw getattr through safe_builtins, omits a required _getattr_ guard, and relies on validate_code checks for literal dangerous dunder strings. An attacker can construct dunder names at runtime, traverse the Python class hierarchy, reach subprocess.Popen, and execute OS commands with the server process privileges through the execute_code MCP tool. The HTTP/SSE transport can expose this tool without authentication, while stdio-only deployments have reduced network reachability. The issue affects the python_sandbox_server subproject and does not directly affect the core Context Forge gateway or proxy components. This issue is fixed in version 1.0.2.
What to do
Patch available · fixed versions: 1.0.2
Update mcp-contextforge-gateway to version 1.0.2 or later.
- Apply the vendor's security update for mcp-context-forge.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | mcp-contextforge-gateway |
< 1.0.2 |
1.0.2 |
pip install "mcp-contextforge-gateway>=1.0.2" |
| PyPI | mcp-contextforge-gateway |
< 1.0.2 |
1.0.2 |
pip install "mcp-contextforge-gateway>=1.0.2" |
Per OSV / GitHub Advisories (GHSA-xm98-3vcf-fph7, PYSEC-2026-3862). Check the version in your lockfile before upgrading.
Affected products
- IBM · mcp-context-forge
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.