Skip to main content
← All vulnerabilities
CVE-2025-1040

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in v0.4.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • significant-gravitas significant-gravitas/autogpt

    fixed in v0.4.0

References 2

huntr.com

GitHub · significant-gravitas/autogpt