CVE-2025-1040
published high CVSS 3.0 · 8.8Server-Side Template Injection (SSTI) in significant-gravitas/autogpt
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| significant-gravitas | — | significant-gravitas/autogptunspecified to < v0.4.0 | Affected | Not stated | @huntr_ai |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| significant-gravitas | significant-gravitas/autogpt | unspecified to < v0.4.0 (affected · custom) | @huntr_ai · cna |
Weaknesses
1- CWE-1336 CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
References
2Provider assertions
2@huntr_ai · cna
Server-Side Template Injection (SSTI) in significant-gravitas/autogpt
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9256ee6331fb99ff6aa6f69ac79c90db9ca9cef9703114d6fcd09630970169d9
- Ingested
- 23 Sep 2026, 08:38:35 UTC
- Source record
- Official CVE record