CVE-2025-1040 | Server-Side Template Injection (SSTI) in significant-gravitas/autogpt
Exp
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.
Conclusion & alert: CVE-2025-1040 is rated High Exploit Risk (87.3/100): CVSS High severity, with high exploitation likelihood (EPSS 11.60%, 94th percentile).Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +4.32% over the last day, indicating growing attacker interest.Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
Public exploit references (Exploit-DB) for CVE-2025-1040
Exploit prediction scoring system (EPSS) score for CVE-2025-1040
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).