A command injection vulnerability exists in the workflow-checker.yml workflow of significant-gravitas/autogpt. The untrusted user input `github.head.ref` is used insecurely, allowing an attacker to inject arbitrary commands. This vulnerability affects versions up to and including the latest version. An attacker can exploit this by creating a branch name with a malicious payload and opening a pull request, potentially leading to reverse shell access or theft of sensitive tokens and keys.
Advisories
Source ID Title
EUVD EUVD EUVD-2025-6892 A command injection vulnerability exists in the workflow-checker.yml workflow of significant-gravitas/autogpt. The untrusted user input `github.head.ref` is used insecurely, allowing an attacker to inject arbitrary commands. This vulnerability affects versions up to and including the latest version. An attacker can exploit this by creating a branch name with a malicious payload and opening a pull request, potentially leading to reverse shell access or theft of sensitive tokens and keys.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 15 Oct 2025 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-94

Wed, 15 Oct 2025 13:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-77

Tue, 05 Aug 2025 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Agpt autogpt Classic
CPEs cpe:2.3:a:agpt:autogpt:*:*:*:*:*:*:*:* cpe:2.3:a:agpt:autogpt_classic:*:*:*:*:*:*:*:*
Vendors & Products Agpt autogpt
Agpt autogpt Classic

Tue, 01 Apr 2025 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Agpt
Agpt autogpt
CPEs cpe:2.3:a:agpt:autogpt:*:*:*:*:*:*:*:*
Vendors & Products Agpt
Agpt autogpt
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Thu, 20 Mar 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 20 Mar 2025 10:15:00 +0000

Type Values Removed Values Added
Description A command injection vulnerability exists in the workflow-checker.yml workflow of significant-gravitas/autogpt. The untrusted user input `github.head.ref` is used insecurely, allowing an attacker to inject arbitrary commands. This vulnerability affects versions up to and including the latest version. An attacker can exploit this by creating a branch name with a malicious payload and opening a pull request, potentially leading to reverse shell access or theft of sensitive tokens and keys.
Title Command Injection in significant-gravitas/autogpt
Weaknesses CWE-94
References
Metrics cvssV3_0

{'score': 8.8, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: @huntr_ai

Published:

Updated: 2025-10-15T12:50:39.556Z

Reserved: 2024-08-25T17:45:18.099Z

Link: CVE-2024-8156

cve-icon Vulnrichment

Updated: 2025-03-20T13:53:00.417Z

cve-icon NVD

Status : Modified

Published: 2025-03-20T10:15:41.247

Modified: 2025-10-15T13:15:54.323

Link: CVE-2024-8156

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.