cvedb.io
CVE-2025-1040
HIGH · CVSS 8.8
EPSS exploitation probability: 0%
Published 2025-03-20T10:15:53.653 · Last modified 2026-06-17T08:38:16.633

Summary

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.

Affected products

agpt — autogpt_platform

Does this affect you?

Add your gear to cvedb and we'll alert you only when agpt ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.