CVE-2026-81096
ToolUniverse ran caller-supplied Python inside a sandbox that could …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/mims-harvard/ToolUniverse
- github.com/mims-harvard/ToolUniverse/pull/251
- github.com/mims-harvard/ToolUniverse/security/advisories/GHSA-pxwq-22vf-87fm
- www.vulncheck.com/advisories/tooluniverse-through-1.2.6-unauthenticated-remote-code-execut
- nvd.nist.gov/vuln/detail/CVE-2026-81096
- cve.org/CVERecord?id=CVE-2026-81096
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.