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.

INFO

Published Date :

2025-03-20T10:11:05.749Z

Last Modified :

2025-10-15T12:50:50.369Z

Source :

@huntr_ai
AFFECTED PRODUCTS

The following products are affected by CVE-2025-1040 vulnerability.

Vendors Products
Agpt
  • Autogpt Platform
REFERENCES

Here, you will find a curated list of external links that provide in-depth information to CVE-2025-1040.

CVSS Vulnerability Scoring System

Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact