Skip to content
MediumVulnerability

CVE-2025-51472: TransformerOptimus SuperAGI code injection in AgentTemplate.eval_agent_config

Identifier
CVE-2025-51472
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2025-51472 is a code injection flaw in AgentTemplate.eval_agent_config in TransformerOptimus SuperAGI 0.0.14. Remote attackers can execute arbitrary Python code by supplying malicious values in agent template configuration fields such as goal, constraints, or instruction. These values are passed to eval() without validation when templates are loaded or updated.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.