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.
Metrics
Affected Vendors & Products
References
History
Wed, 15 Oct 2025 13:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-77 |
Wed, 15 Oct 2025 13:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-1336 |
Tue, 05 Aug 2025 17:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Agpt autogpt Platform
|
|
| CPEs | cpe:2.3:a:agpt:autogpt_platform:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Agpt autogpt
|
Agpt autogpt Platform
|
Tue, 01 Apr 2025 20:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Agpt
Agpt autogpt |
|
| CPEs | cpe:2.3:a:agpt:autogpt:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Agpt
Agpt autogpt |
|
| Metrics |
cvssV3_1
|
Thu, 20 Mar 2025 16:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Thu, 20 Mar 2025 10:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Server-Side Template Injection (SSTI) in significant-gravitas/autogpt | |
| Weaknesses | CWE-77 | |
| References |
| |
| Metrics |
cvssV3_0
|
Status: PUBLISHED
Assigner: @huntr_ai
Published: 2025-03-20T10:11:05.749Z
Updated: 2025-10-15T12:50:50.369Z
Reserved: 2025-02-04T19:56:24.203Z
Link: CVE-2025-1040
Updated: 2025-03-20T15:22:06.904Z
Status : Modified
Published: 2025-03-20T10:15:53.653
Modified: 2025-10-15T13:16:01.167
Link: CVE-2025-1040
No data.