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.
References
Configurations
History
No history.
Information
Published : 2025-03-20 10:15
Updated : 2025-10-15 13:16
NVD link : CVE-2025-1040
Mitre link : CVE-2025-1040
CVE.ORG link : CVE-2025-1040
JSON object : View
Products Affected
agpt
- autogpt_platform
CWE
CWE-1336
Improper Neutralization of Special Elements Used in a Template Engine
