← Vulnerability feed

Vulnerability record · CVE-2025-1040 · published 20 March 2025

CVE-2025-1040: Agpt autogpt platform vulnerability

Agpt · Autogpt Platform

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.

8.8 CVSS 3.1 High EPSS 1.7% · top 23.1% CWE-1336 · CWE-1336
8.8CVSS 3.1 base score
1.7%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
3References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2025-1040 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.4CVE-2026-26020Agpt autogpt platform improper authorization vulnerabilityAutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents that automate complex workflows. Prio…EPSS 0.86%9.3CVE-2025-62615Agpt autogpt platform server-side request forgery (ssrf) vulnerabilityAutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents that automate complex workflows. Prio…EPSS 0.38%9.3CVE-2025-62616Agpt autogpt platform server-side request forgery (ssrf) vulnerabilityAutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents that automate complex workflows. Prio…EPSS 0.36%8.7CVE-2025-32393Agpt autogpt platform allocation without limits vulnerabilityAutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents that automate complex workflows. Prio…EPSS 0.42%8.6CVE-2026-24780Agpt autogpt platform code injection vulnerabilityAutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents that automate complex workflows. Prio…EPSS 1.3%8.6CVE-2025-31491Agpt autogpt platform information exposure vulnerabilityAutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents that automate complex workflows. Prio…EPSS 0.48%8.1CVE-2026-22038Agpt autogpt platform sensitive information in log file vulnerabilityAutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents that automate complex workflows. Prio…EPSS 0.45%7.7CVE-2025-53944Agpt autogpt platform improper authorization vulnerabilityAutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents. In v0.6.15 and below, the external A…EPSS 0.45%

Source: NIST National Vulnerability Database (record CVE-2025-1040), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.