CVE-2025-1040
Severity CVSS v4.0:
Pending analysis
Type:
CWE-77
Command Injection
Publication date:
20/03/2025
Last modified:
01/04/2025
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.
Impact
Base Score 3.x
8.80
Severity 3.x
HIGH
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:agpt:autogpt:*:*:*:*:*:*:*:* | 0.4.0 (excluding) |
To consult the complete list of CPE names with products and versions, see this page