Server-Side Template Injection Vulnerability in AutoGPT by Significant Gravitas
CVE-2025-1040

8.8HIGH

Key Information:

Vendor
CVE Published:
20 March 2025

What is CVE-2025-1040?

AutoGPT versions 0.3.4 and earlier suffer from a Server-Side Template Injection vulnerability due to the improper handling of user-supplied format strings in the AgentOutputBlock component. This weakness allows an attacker to pass malicious input to the Jinja2 templating engine, potentially leading to Remote Code Execution (RCE) on the affected system. Patching to version 0.4.0 is essential to mitigate this risk. Users should immediately update their installations to safeguard against potential exploitation.

Affected Version(s)

significant-gravitas/autogpt < unspecified

References

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

CVSS V3.0

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-1040 : Server-Side Template Injection Vulnerability in AutoGPT by Significant Gravitas