# CVE-2025-51472: Code Injection in AgentTemplate.evalagentconfig in TransformerOptimus SuperAGI 0.0.14 allows remote attackers to execute arbitrary Python c…

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- 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.68%, higher than 48% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-07-22T00:00:00.000Z
- Modified: 2026-06-17T09:35:37.120Z
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

Code Injection in AgentTemplate.eval_agent_config in TransformerOptimus SuperAGI 0.0.14 allows remote attackers to execute arbitrary Python code via malicious values in agent template configurations such as the goal, constraints, or instruction field, which are evaluated using eval() without validation during template loading or updates.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- superagi superagi: 0.0.14

## References

- <https://github.com/TransformerOptimus/SuperAGI/pull/1461> (exploit, issue-tracking)
- <https://www.gecko.security/blog/cve-2025-51472> (exploit, third-party-advisory)
- <https://github.com/TransformerOptimus/SuperAGI> (product)

## Sources

- CVE List: [CVE-2025-51472](https://www.cve.org/CVERecord?id=CVE-2025-51472), CVE Terms of Use, modified 2025-07-22
- NVD: [CVE-2025-51472](https://nvd.nist.gov/vuln/detail/CVE-2025-51472), Public domain, modified 2026-06-17

---

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