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
SI
significant-gravitas/autogpt · significant-gravitas
before 0.5.1 · source: vendor
AC
Autogpt Classic · Agpt
before 0.5.1 · source: NVD
Affected product
SI
significant-gravitas/autogpt
significant-gravitas
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-8156
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-8156
Patch
https://github.com/significant-gravitas/autogpt/commit/1df7d527dd37dff8363dc162fb58d300f072e302
Exploit
https://huntr.com/bounties/959efe87-f109-4cef-94d8-90ff2c7aef51
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
