Findings

CVE-2026-27952

Agenta is an open-source LLMOps platform.

Published Feb 26, 2026 · updated Jun 17, 2026 · agentatech agenta

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 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 , which exposes Python's introspection utilities — including — thereby providing access to unfiltered system-level functionality like . 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 from the sandbox allowlist. In later versions (v0.60+), the RestrictedPython sandbox was removed entirely and replaced with a different execution model.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Feb 26, 2026 · NIST NVD

    Detected

    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 package as safe within the sandbox. This allowed authenticated users to bypass the sandbox and achieve arbitrary code

  2. Jun 17, 2026 · NIST NVD

    Updated

    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 package as safe within the sandbox. This allowed authenticated users to bypass the sandbox and achieve arbitrary code

Affected

  • cpe agentatech/agentaversion unspecified

Sources

  • CVE.orgVulnerability recordCVE-2026-27952

    Official CVE identifier

    cve.org
  • NIST NVDVulnerability recordCVE-2026-27952

    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 t

    nvd.nist.gov

References

CVE-2026-27952 · ZeroDay Findings