CVE-2025-51472: Code Injection in AgentTemplate.eval_agent_config in TransformerOptimus SuperAGI 0.0.14 allows remote attacker
CVE-2025-51472 is a medium-severity flaw (CVSS 6.5) affecting superagi. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 60%) |
| CISA exploited list | No |
| Weakness | CWE-77 |
| Published | 2025-07-22 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-51472?
superagi: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2025-51472 being exploited?
CVE-2025-51472 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-51472 affect?
CVE-2025-51472 affects superagi. Severity is medium (CVSS 6.5). 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 instruc
How urgent is CVE-2025-51472?
Priority 43/100. Public exploit reference; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2025-51475 MEDIUM 5.0 DOWNGRADE Arbitrary File Overwrite (AFO) in superagi.controllers.resources.upload in TransformerOptimus SuperAGI 0.0.14
- CVE-2024-9447 MEDIUM 6.5 DOWNGRADE An information disclosure vulnerability exists in the latest version of transformeroptimus/superagi
- CVE-2024-9439 HIGH 8.8 DOWNGRADE SuperAGI is vulnerable to remote code execution in the latest version
- CVE-2024-9437 HIGH 7.5 DOWNGRADE SuperAGI version v0.0.14 is vulnerable to an unauthenticated Denial of Service (DoS) attack
- CVE-2024-9431 HIGH 8.8 DOWNGRADE In version v0.0.14 of transformeroptimus/superagi, there is an improper privilege management vulnerability