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

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-02-26T01:39:09.997Z
- Modified: 2026-06-17T10:27:58.610Z
- Also known as: PYSEC-2026-7, GHSA-cfr2-mp74-3763
- Weaknesses: CWE-1336
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Agenta-AI agenta: < 0.86.8
- agentatech agenta: before 0.86.8
- agenta (PyPI): before 0.86.8

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Agenta-AI/agenta/security/advisories/GHSA-cfr2-mp74-3763> (advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2026-27961](https://www.cve.org/CVERecord?id=CVE-2026-27961), CVE Terms of Use, modified 2026-02-26
- NVD: [CVE-2026-27961](https://nvd.nist.gov/vuln/detail/CVE-2026-27961), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-7](https://osv.dev/vulnerability/PYSEC-2026-7), CC-BY-4.0, modified 2026-05-20

---

Page: https://cve.day/CVE-2026-27961 · Whole record: https://cve.day/CVE-2026-27961.json · Rebuilt by cve.day 2026-11-25T22:59:14.942Z
