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)

EPSS: 0.004 (32.7th percentile) — read the EPSS interpretation.

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.

Affected products

  • Superagi — versions 0.0.14
  • N/a — versions n/a

Weakness classification (CWE)

References

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.