We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-1040

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



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.

Reserved 2025-02-04 | Published 2025-03-20 | Updated 2025-03-20 | Assigner @huntr_ai


HIGH: 8.8CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')

Product status

Any version before v0.4.0
affected

References

huntr.com/bounties/b74ef75f-61d5-4422-ab15-9550c8b4f185

github.com/...ommit/6dba31e0215549604bdcc1aed24e3a1714e75ee2

cve.org (CVE-2025-1040)

nvd.nist.gov (CVE-2025-1040)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-1040

Support options

Helpdesk Chat, Email, Knowledgebase