CVE-2025-51472 Details
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.
A code injection vulnerability allowing remote code execution has been identified in Transformer Optimus SuperAGI version 0.0.14. The issue arises in the `AgentTemplate.eval_agent_config` method, where user-controlled input is passed directly to Python's `eval()` function without any validation. This vulnerability can be exploited by manipulating agent template configurations, such as the goal, constraints, or instruction fields, which are then evaluated during template loading or updates.
Users can update to SuperAGI version 0.0.15, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/TransformerOptimus/SuperAGI | [email protected] | Product |
| https://github.com/TransformerOptimus/SuperAGI/pull/1461 | [email protected] | ExploitIssue Tracking |
| https://www.gecko.security/blog/cve-2025-51472 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| superagi superagi | 0.0.14 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 9, 2025 | Initial Analysis | [email protected] |
| Jul 22, 2025 | CVE Modified | CISA-ADP |
| Jul 22, 2025 | New CVE Received | [email protected] |