Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| significant-gravitas / significant-gravitas/autogpt | affected unspecified before v0.4.0 |
CWE
CWE-1336
References
- https://huntr.com/bounties/b74ef75f-61d5-4422-ab15-9550c8b4f185
- https://github.com/significant-gravitas/autogpt/commit/6dba31e0215549604bdcc1aed24e3a1714e75ee2
ADP enrichment
No English description supplied.