PT-2026-81115

CVE-2026-53710

·

تاريخ النشر

2026-08-24

·

تاريخ التحديث

2026-10-16

الوصف من

CVSS 3.1
10
حرجة
المقاييسAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions MCP Context Forge versions prior to 1.0.2
Description The python sandbox server sub-project in MCP Context Forge contains a sandbox bypass in its RestrictedPython implementation. The issue occurs because raw getattr is exposed through safe builtins without a required getattr guard, and the validate code function only checks for literal dangerous dunder strings (special Python attributes starting and ending with double underscores). An attacker can bypass these checks by constructing dunder names at runtime to traverse the Python class hierarchy and reach subprocess.Popen(), allowing the execution of arbitrary OS commands with the privileges of the server process via the execute code MCP tool. This tool may be exposed without authentication over HTTP/SSE transport, specifically through the tools/call endpoint. The core Context Forge gateway and proxy components are not directly affected.
Recommendations Update to version 1.0.2. Remove raw getattr and setattr from safe builtins. Replace substring filtering in validate code with a stricter RestrictedPython policy pipeline. Add authentication to the HTTP transport for all tools/call requests. As a temporary mitigation, restrict access to the execute code tool or the tools/call endpoint.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-XM98-3VCF-FPH7
PYSEC-2026-3862
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾