Server-Side Template Injection (SSTI) in significant-gravitas/autogpt
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-1336.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Significant-Gravitas | significant-gravitas/autogpt | before v0.4.0 | v0.4.0 | Patch available | CNA |
- significant-gravitas/autogpt VendorSignificant-Gravitas Affected before v0.4.0 Fixed in v0.4.0 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:agpt:autogpt_platform:*:*:*:*:*:*:*:* | before 0.4.0 | Vulnerable | Significant-Gravitas |
- cpe:2.3:a:agpt:autogpt_platform:*:*:*:*:*:*:*:* Versions before 0.4.0 Vulnerable ·Significant-Gravitas
Remediation
- Fix · CNA significant-gravitas/autogpt (significant-gravitas) Fixed in v0.4.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
significant-gravitas/autogpt v0.4.0
2 records Highest priority Priority HIGH 2 HIGH
Other records, highest priority first
- TI-2025-00371 SSRF Check Bypass in Requests Utility in significant-gravitas/autogptPriority HIGH 72
Timeline
- 2026-10-02 Threatist record created from CVE-2025-1040
- 2026-10-03 Alias added: GHSA-cjjc-mf84-xp9f
References
More Significant-Gravitas Autogpt Platform vulnerabilities
- TI-2026-19981 AutoGPT is Vulnerable to RCE via Disabled Block Execution CVSS 4.0HIGH 8.6
- TI-2025-23471 AutoGPT has a DoS vulnerability in ReadRSSFeedBlock CVSS 4.0HIGH 8.7
- TI-2025-22672 AutoGPT allows leakage of cross-domain cookies and protected headers in requests redirect CVSS 3.1HIGH 8.6
- TI-2025-16489 AutoGPT SSRF vulnerability CVSS 4.0HIGH 7.7
- TI-2025-22671 AutoGPT allows SSRF due to DNS Rebinding in requests wrapper CVSS 3.1HIGH 7.5
- TI-2025-00371 SSRF Check Bypass in Requests Utility in significant-gravitas/autogpt CVSS 3.1HIGH 7.5
Sources
- CVE-2025-1040 · CVE Program
- CVE-2025-1040 · NVD
- FIRST EPSS
- GHSA-cjjc-mf84-xp9f · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences