Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-53710— MCP Context Forge: RestrictedPython sandbox bypass via getattr builtin in python_sandbox_server

Quick assessment

Affected
IBM mcp-context-forge
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

MCP Context Forge 是一个面向 MCP、A2A、REST 和 gRPC API 的 AI 网关、注册中心和代理。在 1.0.2 版本之前,位于 中的 通过 暴露了原始的 ,缺少必需的 防护,并依赖 对字面量危险双下划线字符串进行检查。攻击者可以在运行时构造双下划线名称(dunder names),遍历 Python 类层次结构,访问 ,并通过 MCP 工具以服务器进程的权限执行操作系统命令。HTTP/SSE 传输方式可能无需认证即可暴露该工具,而仅使用 stdio 的部署方式则具有较低的网络可达性。

CVSS 10.0 · Critical

Affected Version Matrix 1

VendorProduct Version RangeStatus
IBM mcp-context-forge < 1.0.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-53710

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
MCP Context Forge: RestrictedPython sandbox bypass via getattr builtin in python_sandbox_server
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
IBM mcp-context-forge < 1.0.2 -

II. Public POCs for CVE-2026-53710

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-53710

登录查看更多情报信息。

Patches & Fixes for CVE-2026-53710 (1)

Vendor Advisories for CVE-2026-53710 (1)

Vendor Pages for CVE-2026-53710 (1)

Same Patch Batch · IBM · 2026-09-15 · 25 CVEs total

CVE-2026-12351 9.8 CRITICAL IBM MQ is vulnerable to unauthenticated remote code execution via JNDI injection
CVE-2026-12728 8.8 HIGH IBM MQ Java messaging is vulnerable to remote code execution
CVE-2026-11729 8.5 HIGH IBM MQ Java messaging is vulnerable to remote code execution
CVE-2026-11728 8.1 HIGH IBM MQ .NET client is vulnerable to remote code execution
CVE-2026-12666 8.1 HIGH IBM MQ Java messaging is vulnerable to XML external entity injection
CVE-2026-12355 8.1 HIGH IBM MQ Resource Adapter IVT servlet is vulnerable to unauthenticated remote code execution
CVE-2026-12354 7.5 HIGH IBM MQ Resource Adapter IVT message-driven bean is vulnerable to remote code execution via
CVE-2026-12752 7.1 HIGH Multiple security vulnerabilities addressed with IBM Business Automation Workflow August 2
CVE-2026-12667 7.1 HIGH IBM MQ .NET client is vulnerable to XML external entity injection
CVE-2026-12150 7.0 HIGH IBM MQ queue manager is vulnerable to denial of service
CVE-2026-11864 6.5 MEDIUM Multiple security vulnerabilities are addressed with IBM Cloud Pak for Business Automation
CVE-2026-12749 6.4 MEDIUM Multiple security vulnerabilities are addressed with IBM Cloud Pak for Business Automation
CVE-2026-12750 6.4 MEDIUM Multiple security vulnerabilities are addressed with IBM Cloud Pak for Business Automation
CVE-2026-12742 5.4 MEDIUM Multiple secuirty vulnerabilies addressed with IBM Business Automation Workflow August 202
CVE-2026-12751 5.4 MEDIUM Multiple security vulnerabilities are addressed with IBM Cloud Pak for Business Automation
CVE-2026-11918 5.4 MEDIUM IBM ContextForge MCP Gateway is affected by security filter bypass via nested payload stru
CVE-2026-11934 Security vulnerabilities have been addressed in IBM Verify Identity Access and IBM Securit
CVE-2026-12101 Security vulnerabilities have been addressed in IBM Verify Identity Access and IBM Securit
CVE-2026-11929 Security vulnerabilities have been addressed in IBM Verify Identity Access and IBM Securit
CVE-2026-11928 Security vulnerabilities have been addressed in IBM Verify Identity Access and IBM Securit

Showing top 20 of 25 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-53710

No comments yet


Leave a comment