Critical severity · published Mar 20, 2025
CVE-2024-8156
Command Injection in significant-gravitas/autogpt
9.8
CVSS
1.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.7% · higher than 78% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AC
Autogpt Classic · Agpt
before 0.5.1 · source: NVD
Affected product
SI
significant-gravitas/autogpt
significant-gravitas
More from significant-gravitas/autogpt
9.8
CVE-2024-6091
Shell Command Denylist Bypass in significant-gravitas/autogpt
9.8
CVE-2024-1881
Improper Neutralization of Special Elements used in an OS Command in significant-gravitas/autogpt
8.8
CVE-2025-1040
Server-Side Template Injection (SSTI) in significant-gravitas/autogpt
8.8
CVE-2024-1879
CSRF to RCE in significant-gravitas/autogpt
7.8
CVE-2024-1880
OS Command Injection in MacOS Text-To-Speech Class in significant-gravitas/autogpt