CVE-2026-53710 Details
Description
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.
A vulnerability in the MCP Context Forge Python Sandbox Server prior to version 1.0.2 allows for unauthorized OS command execution. This issue arises from the 'getattr' and 'setattr' builtins being exposed in a way that bypasses necessary safeguards, enabling runtime construction of attribute names that can traverse the Python class hierarchy. The vulnerability is exploited through the 'execute_code' tool, which can be accessed via HTTP without authentication. In containerized deployments, this could lead to filesystem compromise or network pivoting.
Users should update to MCP Context Forge version 1.0.2 or later, which removes the vulnerable 'getattr' and 'setattr' from the sandbox's safe builtins', adds the necessary guards, and requires an authentication token for the HTTP transport.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 15, 2026CISA-ADP
Assessed Sep 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/IBM/mcp-context-forge/commit/63a2900e6301b9c8a483a38d3737a1beb3a7ce89 | [email protected] | Source CodeVendor |
| https://github.com/IBM/mcp-context-forge/releases/tag/v1.0.2 | [email protected] | Release NotesVendor |
| https://github.com/IBM/mcp-context-forge/security/advisories/GHSA-xm98-3vcf-fph7 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-693 | Protection Mechanism Failure | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| IBM MCP Context Forge | <= 1.0.1 (semver) |
CPE
Remediation
| |
| IBM MCP Context Forge python_sandbox_server | <= 1.0.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 15, 2026 | CVE Modified | CISA-ADP |
| Sep 15, 2026 | New CVE Received | [email protected] |
Volerion