CVE-2026-27952 Agenta has Python Sandbox Escape, Leading to Remote Code Execution (RCE)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
Agenta is an open-source LLMOps platform. In Agenta-API prior to version 0.48.1, a Python sandbox escape vulnerability existed in Agenta's custom code evaluator. Agenta used RestrictedPython as a sandboxing mechanism for user-supplied evaluator code, but incorrectly whitelisted the numpy package as safe within the sandbox. This allowed authenticated users to bypass the sandbox and achieve arbitrary code execution on the API server. The escape path was through numpy.ma.core.inspect, which exposes Python's introspection utilities — including sys.modules — thereby providing access to unfiltered system-level functionality like os.system. This vulnerability affects the Agenta self-hosted platform (API server), not the SDK when used as a standalone Python library. The custom code evaluator runs server-side within the API process. The issue is fixed in v0.48.1 by removing numpy from the sandbox allowlist. In later versions (v0.60+), the RestrictedPython sandbox was removed entirely and replaced with a different execution model.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| agentatech agenta | < 0.48.1 | 0.48.1 | Fixed |
| pypi agenta(PyPI) | < 0.48.1; = 0.1.0; = 0.1.1; = 0.1.2 +298 more | 0.48.1 | Fixed |
| agenta-ai agenta-api | = < 0.48.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi agenta(PyPI) | < 0.48.1 | 0.48.1 |
| pypi agenta(PyPI) | = 0.1.0 | No fix listed |
| pypi agenta(PyPI) | = 0.1.1 | No fix listed |
| pypi agenta(PyPI) | = 0.1.10 | No fix listed |
| pypi agenta(PyPI) | = 0.1.11 | No fix listed |
| pypi agenta(PyPI) | = 0.1.12 | No fix listed |
| pypi agenta(PyPI) | = 0.1.13 | No fix listed |
| pypi agenta(PyPI) | = 0.1.14 | No fix listed |
| pypi agenta(PyPI) | = 0.1.15 | No fix listed |
| pypi agenta(PyPI) | = 0.1.16 | No fix listed |
| pypi agenta(PyPI) | = 0.1.17 | No fix listed |
| pypi agenta(PyPI) | = 0.1.18 | No fix listed |
| pypi agenta(PyPI) | = 0.1.19 | No fix listed |
| pypi agenta(PyPI) | = 0.1.2 | No fix listed |
| pypi agenta(PyPI) | = 0.1.21 | No fix listed |
| pypi agenta(PyPI) | = 0.1.22 | No fix listed |
| pypi agenta(PyPI) | = 0.1.23 | No fix listed |
| pypi agenta(PyPI) | = 0.1.24 | No fix listed |
| pypi agenta(PyPI) | = 0.1.25 | No fix listed |
| pypi agenta(PyPI) | = 0.1.26 | No fix listed |
| pypi agenta(PyPI) | = 0.1.27 | No fix listed |
| pypi agenta(PyPI) | = 0.1.28 | No fix listed |
| pypi agenta(PyPI) | = 0.1.29 | No fix listed |
| pypi agenta(PyPI) | = 0.1.3 | No fix listed |
| pypi agenta(PyPI) | = 0.1.4 | No fix listed |
Show 175 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi agenta(PyPI) | = 0.1.5 | No fix listed |
| pypi agenta(PyPI) | = 0.1.6 | No fix listed |
| pypi agenta(PyPI) | = 0.1.7 | No fix listed |
| pypi agenta(PyPI) | = 0.1.8 | No fix listed |
| pypi agenta(PyPI) | = 0.1.9 | No fix listed |
| pypi agenta(PyPI) | = 0.10.0 | No fix listed |
| pypi agenta(PyPI) | = 0.10.1 | No fix listed |
| pypi agenta(PyPI) | = 0.10.2 | No fix listed |
| pypi agenta(PyPI) | = 0.10.3 | No fix listed |
| pypi agenta(PyPI) | = 0.12.0 | No fix listed |
| pypi agenta(PyPI) | = 0.12.1 | No fix listed |
| pypi agenta(PyPI) | = 0.12.2 | No fix listed |
| pypi agenta(PyPI) | = 0.12.3 | No fix listed |
| pypi agenta(PyPI) | = 0.12.4 | No fix listed |
| pypi agenta(PyPI) | = 0.12.5 | No fix listed |
| pypi agenta(PyPI) | = 0.12.6 | No fix listed |
| pypi agenta(PyPI) | = 0.12.7 | No fix listed |
| pypi agenta(PyPI) | = 0.13.0 | No fix listed |
| pypi agenta(PyPI) | = 0.13.0a0 | No fix listed |
| pypi agenta(PyPI) | = 0.13.0a1 | No fix listed |
| pypi agenta(PyPI) | = 0.13.0a2 | No fix listed |
| pypi agenta(PyPI) | = 0.13.0a3 | No fix listed |
| pypi agenta(PyPI) | = 0.13.1 | No fix listed |
| pypi agenta(PyPI) | = 0.13.2 | No fix listed |
| pypi agenta(PyPI) | = 0.13.3 | No fix listed |
| pypi agenta(PyPI) | = 0.13.4 | No fix listed |
| pypi agenta(PyPI) | = 0.13.5 | No fix listed |
| pypi agenta(PyPI) | = 0.13.6 | No fix listed |
| pypi agenta(PyPI) | = 0.13.7 | No fix listed |
| pypi agenta(PyPI) | = 0.13.7a0 | No fix listed |
| pypi agenta(PyPI) | = 0.13.8 | No fix listed |
| pypi agenta(PyPI) | = 0.14.0 | No fix listed |
| pypi agenta(PyPI) | = 0.14.1 | No fix listed |
| pypi agenta(PyPI) | = 0.14.10 | No fix listed |
| pypi agenta(PyPI) | = 0.14.11 | No fix listed |
| pypi agenta(PyPI) | = 0.14.12 | No fix listed |
| pypi agenta(PyPI) | = 0.14.12a0 | No fix listed |
| pypi agenta(PyPI) | = 0.14.12a1 | No fix listed |
| pypi agenta(PyPI) | = 0.14.12a2 | No fix listed |
| pypi agenta(PyPI) | = 0.14.13 | No fix listed |
| pypi agenta(PyPI) | = 0.14.14 | No fix listed |
| pypi agenta(PyPI) | = 0.14.14a0 | No fix listed |
| pypi agenta(PyPI) | = 0.14.14a1 | No fix listed |
| pypi agenta(PyPI) | = 0.14.1a0 | No fix listed |
| pypi agenta(PyPI) | = 0.14.1a1 | No fix listed |
| pypi agenta(PyPI) | = 0.14.2 | No fix listed |
| pypi agenta(PyPI) | = 0.14.3 | No fix listed |
| pypi agenta(PyPI) | = 0.14.4 | No fix listed |
| pypi agenta(PyPI) | = 0.14.5 | No fix listed |
| pypi agenta(PyPI) | = 0.14.6 | No fix listed |
| pypi agenta(PyPI) | = 0.14.6a0 | No fix listed |
| pypi agenta(PyPI) | = 0.14.7 | No fix listed |
| pypi agenta(PyPI) | = 0.14.7a0 | No fix listed |
| pypi agenta(PyPI) | = 0.14.7a1 | No fix listed |
| pypi agenta(PyPI) | = 0.14.8 | No fix listed |
| pypi agenta(PyPI) | = 0.14.8a0 | No fix listed |
| pypi agenta(PyPI) | = 0.14.9 | No fix listed |
| pypi agenta(PyPI) | = 0.15.0 | No fix listed |
| pypi agenta(PyPI) | = 0.15.0a0 | No fix listed |
| pypi agenta(PyPI) | = 0.15.0a1 | No fix listed |
| pypi agenta(PyPI) | = 0.15.0a2 | No fix listed |
| pypi agenta(PyPI) | = 0.15.0a3 | No fix listed |
| pypi agenta(PyPI) | = 0.15.0a4 | No fix listed |
| pypi agenta(PyPI) | = 0.16.0 | No fix listed |
| pypi agenta(PyPI) | = 0.17.0 | No fix listed |
| pypi agenta(PyPI) | = 0.17.1 | No fix listed |
| pypi agenta(PyPI) | = 0.17.2 | No fix listed |
| pypi agenta(PyPI) | = 0.17.3 | No fix listed |
| pypi agenta(PyPI) | = 0.17.4 | No fix listed |
| pypi agenta(PyPI) | = 0.17.4a0 | No fix listed |
| pypi agenta(PyPI) | = 0.17.5 | No fix listed |
| pypi agenta(PyPI) | = 0.17.6a0 | No fix listed |
| pypi agenta(PyPI) | = 0.17.6a1 | No fix listed |
| pypi agenta(PyPI) | = 0.18.0 | No fix listed |
| pypi agenta(PyPI) | = 0.19.0 | No fix listed |
| pypi agenta(PyPI) | = 0.19.1 | No fix listed |
| pypi agenta(PyPI) | = 0.19.1a0 | No fix listed |
| pypi agenta(PyPI) | = 0.19.2 | No fix listed |
| pypi agenta(PyPI) | = 0.19.3 | No fix listed |
| pypi agenta(PyPI) | = 0.19.4 | No fix listed |
| pypi agenta(PyPI) | = 0.19.5 | No fix listed |
| pypi agenta(PyPI) | = 0.19.6 | No fix listed |
| pypi agenta(PyPI) | = 0.19.6a0 | No fix listed |
| pypi agenta(PyPI) | = 0.19.7 | No fix listed |
| pypi agenta(PyPI) | = 0.19.8 | No fix listed |
| pypi agenta(PyPI) | = 0.19.8a0 | No fix listed |
| pypi agenta(PyPI) | = 0.19.9 | No fix listed |
| pypi agenta(PyPI) | = 0.2.0 | No fix listed |
| pypi agenta(PyPI) | = 0.2.10 | No fix listed |
| pypi agenta(PyPI) | = 0.2.11 | No fix listed |
| pypi agenta(PyPI) | = 0.2.12 | No fix listed |
| pypi agenta(PyPI) | = 0.2.2 | No fix listed |
| pypi agenta(PyPI) | = 0.2.3 | No fix listed |
| pypi agenta(PyPI) | = 0.2.4 | No fix listed |
| pypi agenta(PyPI) | = 0.2.5 | No fix listed |
| pypi agenta(PyPI) | = 0.2.6 | No fix listed |
| pypi agenta(PyPI) | = 0.2.7 | No fix listed |
| pypi agenta(PyPI) | = 0.2.8 | No fix listed |
| pypi agenta(PyPI) | = 0.2.9 | No fix listed |
| pypi agenta(PyPI) | = 0.20.0a0 | No fix listed |
| pypi agenta(PyPI) | = 0.20.0a1 | No fix listed |
| pypi agenta(PyPI) | = 0.20.0a10 | No fix listed |
| pypi agenta(PyPI) | = 0.20.0a11 | No fix listed |
| pypi agenta(PyPI) | = 0.20.0a12 | No fix listed |
| pypi agenta(PyPI) | = 0.20.0a13 | No fix listed |
| pypi agenta(PyPI) | = 0.20.0a3 | No fix listed |
| pypi agenta(PyPI) | = 0.20.0a4 | No fix listed |
| pypi agenta(PyPI) | = 0.20.0a6 | No fix listed |
| pypi agenta(PyPI) | = 0.20.0a7 | No fix listed |
| pypi agenta(PyPI) | = 0.20.0a8 | No fix listed |
| pypi agenta(PyPI) | = 0.20.0a9 | No fix listed |
| pypi agenta(PyPI) | = 0.21.0a1 | No fix listed |
| pypi agenta(PyPI) | = 0.21.0b1 | No fix listed |
| pypi agenta(PyPI) | = 0.22.0 | No fix listed |
| pypi agenta(PyPI) | = 0.23.0 | No fix listed |
| pypi agenta(PyPI) | = 0.23.0a1 | No fix listed |
| pypi agenta(PyPI) | = 0.24.0 | No fix listed |
| pypi agenta(PyPI) | = 0.24.1 | No fix listed |
| pypi agenta(PyPI) | = 0.24.1a0 | No fix listed |
| pypi agenta(PyPI) | = 0.24.2 | No fix listed |
| pypi agenta(PyPI) | = 0.24.2a1 | No fix listed |
| pypi agenta(PyPI) | = 0.24.2a2 | No fix listed |
| pypi agenta(PyPI) | = 0.24.3 | No fix listed |
| pypi agenta(PyPI) | = 0.24.3a1 | No fix listed |
| pypi agenta(PyPI) | = 0.24.4 | No fix listed |
| pypi agenta(PyPI) | = 0.25.0 | No fix listed |
| pypi agenta(PyPI) | = 0.25.1 | No fix listed |
| pypi agenta(PyPI) | = 0.25.2 | No fix listed |
| pypi agenta(PyPI) | = 0.25.3 | No fix listed |
| pypi agenta(PyPI) | = 0.25.3a1 | No fix listed |
| pypi agenta(PyPI) | = 0.25.4 | No fix listed |
| pypi agenta(PyPI) | = 0.25.4a1 | No fix listed |
| pypi agenta(PyPI) | = 0.25.4a2 | No fix listed |
| pypi agenta(PyPI) | = 0.25.4a3 | No fix listed |
| pypi agenta(PyPI) | = 0.25.4a4 | No fix listed |
| pypi agenta(PyPI) | = 0.26.0 | No fix listed |
| pypi agenta(PyPI) | = 0.26.0a0 | No fix listed |
| pypi agenta(PyPI) | = 0.27.0 | No fix listed |
| pypi agenta(PyPI) | = 0.27.0a0 | No fix listed |
| pypi agenta(PyPI) | = 0.27.0a1 | No fix listed |
| pypi agenta(PyPI) | = 0.27.0a12 | No fix listed |
| pypi agenta(PyPI) | = 0.27.0a13 | No fix listed |
| pypi agenta(PyPI) | = 0.27.0a15 | No fix listed |
| pypi agenta(PyPI) | = 0.27.0a2 | No fix listed |
| pypi agenta(PyPI) | = 0.27.0a5 | No fix listed |
| pypi agenta(PyPI) | = 0.27.0a6 | No fix listed |
| pypi agenta(PyPI) | = 0.27.0a7 | No fix listed |
| pypi agenta(PyPI) | = 0.27.0a8 | No fix listed |
| pypi agenta(PyPI) | = 0.27.0a9 | No fix listed |
| pypi agenta(PyPI) | = 0.27.1 | No fix listed |
| pypi agenta(PyPI) | = 0.27.2 | No fix listed |
| pypi agenta(PyPI) | = 0.27.2a2 | No fix listed |
| pypi agenta(PyPI) | = 0.27.3 | No fix listed |
| pypi agenta(PyPI) | = 0.27.4a0 | No fix listed |
| pypi agenta(PyPI) | = 0.27.4a1 | No fix listed |
| pypi agenta(PyPI) | = 0.27.5 | No fix listed |
| pypi agenta(PyPI) | = 0.27.5a1 | No fix listed |
| pypi agenta(PyPI) | = 0.27.6 | No fix listed |
| pypi agenta(PyPI) | = 0.27.6a0 | No fix listed |
| pypi agenta(PyPI) | = 0.27.6a1 | No fix listed |
| pypi agenta(PyPI) | = 0.27.6a2 | No fix listed |
| pypi agenta(PyPI) | = 0.27.6a3 | No fix listed |
| pypi agenta(PyPI) | = 0.27.7 | No fix listed |
| pypi agenta(PyPI) | = 0.27.7a0 | No fix listed |
| pypi agenta(PyPI) | = 0.27.7a1 | No fix listed |
| pypi agenta(PyPI) | = 0.27.7a2 | No fix listed |
| pypi agenta(PyPI) | = 0.27.8a2 | No fix listed |
| pypi agenta(PyPI) | = 0.28.0 | No fix listed |
| pypi agenta(PyPI) | = 0.28.0a1 | No fix listed |
| pypi agenta(PyPI) | = 0.28.0a2 | No fix listed |
| pypi agenta(PyPI) | = 0.28.0a3 | No fix listed |
| pypi agenta(PyPI) | = 0.28.0a4 | No fix listed |
| pypi agenta(PyPI) | = 0.28.1 | No fix listed |
| pypi agenta(PyPI) | = 0.28.2a1 | No fix listed |
| pypi agenta(PyPI) | = 0.28.2a2 | No fix listed |
References
- https://github.com/Agenta-AI/agenta/security/advisories/GHSA-pmgp-2m3v-34mq exploit vendor-advisory