CVE-2025-1040
HIGH EPSS 71.5%
Published Mar 20, 20251y ago · Modified Jun 17, 20261w ago
8.8 CVSS 3.1
Published Mar 20, 2025 1y ago
Last Modified Jun 17, 2026 1w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
EPSS Exploit Probability
71.5% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 1
CWE-1336
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| agpt | autogpt_platform | * | <0.4.0 |
References 2
- github.com https://github.com/significant-gravitas/autogpt/commit/6dba31e0215549604bdcc1aed24e3a1714e75ee2
- huntr.com https://huntr.com/bounties/b74ef75f-61d5-4422-ab15-9550c8b4f185
Remediation
- github.com https://github.com/significant-gravitas/autogpt/commit/6dba31e0215549604bdcc1aed24e3a1714e75ee2