CVE-2026-81096
Unauthenticated sandbox escape leading to RCE in ToolUniverse
ToolUniverse versions before 1.3.0 expose HTTP and MCP servers that run caller-supplied Python through the python_code_executor tool without requiring authentication, and the deny-list sandbox in python_executor_tool.py can be escaped. A caller can reach forbidden dunder attributes via string-based lookups or through an already-permitted module, walk from a literal's class to its base and its subclasses, and obtain references to the process and subprocess modules; a per-call argument can additionally widen the import allow-list before inspection runs. Because http_api_server.py and smcp_server.py bind to every interface with debugging enabled and no authentication, anyone able to reach the port can execute arbitrary code as the server process. Any deployment of ToolUniverse prior to 1.3.0 whose HTTP or MCP server is reachable by untrusted clients is affected. No public proof-of-concept or in-the-wild exploitation is currently known; EPSS estimates the 30-day exploitation probability at about 0.6% (45th percentile).
What to do: Upgrade to ToolUniverse 1.3.0 or later, which adds bearer-token authentication, defaults the bind address to loopback, and hardens the attribute checks. Until upgraded, restrict network access to the HTTP and MCP server ports with a firewall or an authenticating reverse proxy, avoid binding to all interfaces, and disable debug mode. Check any internet-exposed instances for signs of arbitrary code execution, since unauthenticated RCE requires no legitimate user interaction.
| ToolUniverse | all versions prior to 1.3.0 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
- Weakness
- CWE-94
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
In the news0 stories
No ingested article mentions this CVE yet.