Read the docs
TI-2025-00879 Aliases CVE-2025-1040GHSA-cjjc-mf84-xp9f

Server-Side Template Injection (SSTI) in significant-gravitas/autogpt

Priority HIGH 73CWE-1336Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01746 77th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed significant-gravitas/autogpt (significant-gravitas): v0.4.0

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

VendorProductAffected versionsFixed inStatusSource
Significant-Gravitassignificant-gravitas/autogptbefore v0.4.0v0.4.0Patch availableCNA
  • significant-gravitas/autogpt VendorSignificant-Gravitas Affected before v0.4.0 Fixed in v0.4.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:agpt:autogpt_platform:*:*:*:*:*:*:*:*before 0.4.0VulnerableSignificant-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

  1. 2026-10-02 Threatist record created from CVE-2025-1040
  2. 2026-10-03 Alias added: GHSA-cjjc-mf84-xp9f

References

  • 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
See all 14 →

Sources