CVE-2025-1040

HighCVSS 8.8/10Last modified Jun 17, 2026

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.

Metrics

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

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Mar 20, 2025
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2025

CVE-2025-104008.8A security vulnerability has been detected in SourceCodester Food Ordering Management System 1.0. Impacted is an unknown function of the filCVE-2025-104018.8A vulnerability was detected in D-Link DIR-823x up to 250416. The affected element is an unknown function of the file /goform/diag_ping. PerCVE-2025-104029.8A flaw has been found in PHPGurukul Beauty Parlour Management System 1.1. The impacted element is an unknown function of the file /admin/reaCVE-2025-104039.8A vulnerability has been found in PHPGurukul Beauty Parlour Management System 1.1. This affects an unknown function of the file /admin/view-CVE-2025-104049.8A vulnerability was found in itsourcecode Baptism Information Management System 1.0. This impacts an unknown function of the file /rptbaptisCVE-2025-104059.8A vulnerability was determined in itsourcecode Baptism Information Management System 1.0. Affected is an unknown function of the file /listbCVE-2025-104065.5The BlindMatrix e-Commerce WordPress plugin before 3.1 does not validate some shortcode attributes before using them to generate paths passeCVE-2025-104078.8A vulnerability was identified in SourceCodester Student Grading System 1.0. Affected by this vulnerability is an unknown functionality of tCVE-2025-104088.8A security flaw has been discovered in SourceCodester Student Grading System 1.0. Affected by this issue is some unknown functionality of thCVE-2025-104098.8A weakness has been identified in SourceCodester Student Grading System 1.0. This affects an unknown part of the file /rms.php?page=users. ECVE-2025-10419.8An improper input validation discovered in Avaya Call Management System could allow an unauthorized remote command via a specially craftCVE-2025-104109.8A security vulnerability has been detected in SourceCodester Link Status Checker 1.0. This vulnerability affects unknown code of the file in
CVE-2025-1040: High severity, CVSS 8.8 | Vulnix