CVE-2025-1040 Details
Description
AutoGPT versions 0.3.4 and earlier are vulnerable to a Server-Side Template Injection (SSTI) that could lead to Remote Code Execution (RCE). The vulnerability arises from the improper handling of user-supplied format strings in the `AgentOutputBlock` implementation, where malicious input is passed to the Jinja2 templating engine without adequate security measures. Attackers can exploit this flaw to execute arbitrary commands on the host system. The issue is fixed in version 0.4.0.
A Server-Side Template Injection (SSTI) vulnerability has been identified in AutoGPT versions 0.3.4 and earlier. This vulnerability could lead to Remote Code Execution (RCE) due to improper handling of user-supplied format strings in the 'AgentOutputBlock' implementation. Malicious input is passed to the Jinja2 templating engine without sufficient security measures, allowing attackers to execute arbitrary commands on the host system. The vulnerability has been fixed in version 0.4.0.
Users can upgrade to AutoGPT version 0.4.0 or later, 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 Mar 20, 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.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1336 | Improper Neutralization of Special Elements Used in a Template Engine | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| agpt autogpt platform | < 0.4.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Oct 15, 2025 | CVE Modified | [email protected] |
| Aug 5, 2025 | Reanalysis | [email protected] |
| Apr 1, 2025 | Initial Analysis | [email protected] |
| Mar 20, 2025 | CVE Modified | CISA-ADP |
| Mar 20, 2025 | New CVE Received | [email protected] |