RCE in Superagi
CVE-2025-51472
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.004 (32.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 32nd percentile — 32.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: +0.000
Affected products
- Superagi — versions 0.0.14
Weakness classification (CWE)
References
- github.com/TransformerOptimus/SuperAGI (Product)
- github.com/TransformerOptimus/SuperAGI/pull/1461 (Exploit, Issue Tracking)
- www.gecko.security/blog/cve-2025-51472 (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2025-51472?
- CVE-2025-51472 is a medium-severity vulnerability in Superagi, classified under Command Injection. CVSS score: 6.5/10. Published 2025-07-22.
- How severe is CVE-2025-51472?
- Medium severity. CVSS v3 base score is 6.5 out of 10.