mcp-cve-project

CVE-2026-81096 | ToolUniverse ran caller-supplied Python inside a sandbox that could be escaped, on a server that required no authenticat | Critical / 9.3

CVE Information

Field Value
CVE / NVD CVE-2026-81096
Date (index) 2026-08-27
Affected product (index) ToolUniverse ran caller-supplied Python inside a sandbox that could be escaped, on a server that required no authentication.
GHSA ID GHSA-pxwq-22vf-87fm
OWASP MCP Top 10 (2025) MCP05 - Command Injection & Execution
Published / disclosed 2026-08-27
Ecosystem Application / upstream project
Component ToolUniverse ran caller-supplied Python inside a sandbox that could be escaped, on a server that req
EPSS score 0.008550000 (FIRST EPSS, 2026-09-26)
CVSS score Critical / 9.3
CWE CWE-94
Affected versions <= 1.2.6, v1.2.6, v1.2.5, v1.2.4, v1.2.3, v1.2.2, v1.2.1, v1.1.11, v1.1.10, v1.1.9, v1.1.8, v1.1.7, v1.1.4, v1.1.3, v1.1.2, v1.1.1, v1.0.22, v1.0.21, v1.0.19.1, v1.0.19, v1.0.18, v1.0.17.9, v1.0.17.8, v1.0.17.7, v1.0.17.6, v1.0.17.5, v1.0.17.4, v1.0.17.3, v1.0.17.2, v1.0.17.1, v1.0.17, v1.0.16, v1.0.15.7, v1.0.15.6, v1.0.15.5, v1.0.15.4, v1.0.15.3, v1.0.15.2, v1.0.15.1, mcpb, v1.0.14.2, v1.0.14.1, v1.0.14, v1.0.13.2, v1.0.13.1, v1.0.12.7, v1.0.12.6, v1.0.12.5, v1.0.12.4, v1.0.12.3, v1.0.12.2, v1.0.12.1, v1.0.12, v1.0.11.2, v1.0.11.1, v1.0.11, v1.0.10, v1.0.9.1, v1.0.9, v1.0.8
Fixed versions None published in NVD/OSV
Fix status Unfixed
Exploit status Public advisory / public CVE record
Notes Added during 2026-09-07 gap review against NVD, GitHub Advisory Database, OSV, OpenCVE, and related MCP advisory searches.

CVE Breakdown

What is the vulnerability?

ToolUniverse ran caller-supplied Python inside a sandbox that could be escaped, on a server that required no authentication. The executor behind the python_code_executor tool, in python_executor_tool.py, inspected the submitted source for a denied list of attribute names and calls but left the attribute-lookup builtins available and did not stop a dunder attribute reached through a string lookup or through a module already permitted, so a caller could walk from a literal’s class to its base and enumerate subclasses to obtain a reference to the process and subprocess modules. A per-call argument also let the caller widen the import allow-list before the inspection ran. The HTTP and MCP servers in http_api_server.py and smcp_server.py bound to every interface with debugging enabled and no authentication, so any caller able to reach the port executed code as the server process. Version 1.3.0 adds bearer-token authentication, defaults the bind address to loopback, and hardens the attribute checks.

Attack prerequisites / exposure

Exposure depends on deployment: reachable MCP transports, enabled MCP tools, local listeners without robust Host/Origin/authentication checks, or trusted workspace/project MCP configuration treated as safe input.

CVE is because of what bug?

The issue maps to CWE-94; review the upstream advisory for the exact vulnerable code path and patched implementation.

MCP-specific impact / why it matters

This issue affects an MCP server, SDK, gateway, client, integration, or MCP-enabled workflow where tool execution, transport exposure, secrets, files, or authorization boundaries are part of the risk surface.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory.

Fix / Remediation

Upgrade to the vendor-fixed version where available. Restrict MCP listeners to trusted networks, require authentication for HTTP/SSE/Streamable HTTP transports, validate Host and Origin headers, constrain filesystem and command-execution tools, and treat project/workspace MCP configuration as untrusted input.

Exploit / PoC

Prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.

Detection / verification