CVE-2025-51472
CVE-2025-51472 is a medium-severity vulnerability in Superagi with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-77.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- EPSS exploit prediction: 0% (32nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-22354
- Weakness: CWE-77
- Affected product: Superagi
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2025-51472?
- CVE-2025-51472 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2025-51472 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (32nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-51472?
- CVE-2025-51472 affects Superagi. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-51472?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-51472 have an EU (EUVD) identifier?
- Yes. CVE-2025-51472 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-22354.
- When was CVE-2025-51472 published?
- CVE-2025-51472 was published on 2025-07-22 and last updated on 2026-06-17.
References
- https://github.com/TransformerOptimus/SuperAGI
- https://github.com/TransformerOptimus/SuperAGI/pull/1461
- https://www.gecko.security/blog/cve-2025-51472
Affected products (1)
- cpe:2.3:a:superagi:superagi:0.0.14:*:*:*:*:*:*:*
More vulnerabilities in Superagi
- CVE-2024-9439 — High (CVSS 8.8): SuperAGI is vulnerable to remote code execution in the latest version. The `agent template update` API allows attackers…
- CVE-2024-9431 — High (CVSS 8.8): In version v0.0.14 of transformeroptimus/superagi, there is an improper privilege management vulnerability. After…
- CVE-2024-9415 — High (CVSS 8.8): A Path Traversal vulnerability exists in the file upload functionality of transformeroptimus/superagi version 0.0.14.…
- CVE-2024-12048 — High (CVSS 8.8): An IDOR (Insecure Direct Object Reference) vulnerability exists in transformeroptimus/superagi version v0.0.14. The…
- CVE-2024-9437 — High (CVSS 7.5): SuperAGI version v0.0.14 is vulnerable to an unauthenticated Denial of Service (DoS) attack. The vulnerability exists…
- CVE-2024-10267 — High (CVSS 7.5): An information disclosure vulnerability exists in the latest version of transformeroptimus/superagi. An attacker can…
Other CWE-77 (Command Injection) vulnerabilities
- CVE-2026-23652 — Critical (CVSS 10.0): Improper neutralization of special elements used in a command ('command injection') in Microsoft Power Pages allows an…
- CVE-2025-59818 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute arbitrary commands on the underlying system using the file…
- CVE-2025-64093 — Critical (CVSS 10.0): Remote Code Execution vulnerability that allows unauthenticated attackers to inject arbitrary commands into the…
- CVE-2025-64090 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute commands via the hostname of the device.
- CVE-2025-61492 — Critical (CVSS 10.0): A command injection vulnerability in the execute_command function of terminal-controller-mcp 0.1.7 allows attackers to…
- CVE-2025-10035 — Critical (CVSS 10.0): A deserialization vulnerability in the License Servlet of Fortra's GoAnywhere MFT allows an actor with a validly forged…