CVE-2025-1040HIGH 8.8EPSS p69.3%
CVE-2025-1040CVE-2025-1040
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.
Scoring
| CVSS 3.1 | 8.8 (HIGH) |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 1.42% probability of exploitation · percentile 69.3% · 2026-06-19T12:03:05Z |
| Published | 2025-03-20 |
| Last modified | 2025-10-15 |
Underlying weaknesses· 1
References
1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Improper Neutralization of Special Elements Used in a Template Enginecwe-1336 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.