CVE-2025-1040

HIGH

AutoGPT <0.3.4 - SSTI/RCE

Title source: llm

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.

Exploits (1)

github STUB
by Acczdy · pythonpoc
https://github.com/Acczdy/CVE-Vault/tree/master/CVE-2025-1040

Scores

CVSS v3 8.8
EPSS 0.0170
EPSS Percentile 82.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-1336
Status published
Products (1)
agpt/autogpt_platform < 0.4.0
Published Mar 20, 2025
Tracked Since Feb 18, 2026