CVE-2024-8156
CVE-2024-8156 is a critical-severity vulnerability in Agpt Autogpt Classic with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-77.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- EPSS exploit prediction: 2% (74th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-6892
- Weakness: CWE-77
- Affected product: Agpt Autogpt Classic
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-8156?
- 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.
- How severe is CVE-2024-8156?
- CVE-2024-8156 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-8156 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (74th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-8156?
- CVE-2024-8156 affects Agpt Autogpt Classic. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-8156?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2024-8156 have an EU (EUVD) identifier?
- Yes. CVE-2024-8156 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-6892.
- When was CVE-2024-8156 published?
- CVE-2024-8156 was published on 2025-03-20 and last updated on 2026-06-17.
References
- https://github.com/significant-gravitas/autogpt/commit/1df7d527dd37dff8363dc162fb58d300f072e302
- https://huntr.com/bounties/959efe87-f109-4cef-94d8-90ff2c7aef51
Affected products (1)
- cpe:2.3:a:agpt:autogpt_classic:*:*:*:*:*:*:*:*
More vulnerabilities in Agpt Autogpt Classic
- CVE-2024-6091 — Critical (CVSS 9.8): A vulnerability in significant-gravitas/autogpt version 0.5.1 allows an attacker to bypass the shell commands denylist…
- CVE-2024-1881 — Critical (CVSS 9.8): AutoGPT, a component of significant-gravitas/autogpt, is vulnerable to an improper neutralization of special elements…
- CVE-2024-1879 — High (CVSS 8.8): A Cross-Site Request Forgery (CSRF) vulnerability in significant-gravitas/autogpt version v0.5.0 allows attackers to…
- CVE-2023-37273 — High (CVSS 8.1): Auto-GPT is an experimental open-source application showcasing the capabilities of the GPT-4 language model. Running…
- CVE-2024-1880 — High (CVSS 7.8): An OS command injection vulnerability exists in the MacOS Text-To-Speech class MacOSTTS of the…
- CVE-2023-37274 — High (CVSS 7.5): Auto-GPT is an experimental open-source application showcasing the capabilities of the GPT-4 language model. When…
All CVEs affecting Agpt Autogpt Classic →
Other CWE-77 (Command Injection) vulnerabilities
- CVE-2026-23652 — Critical (CVSS 10.0): Improper neutralization of special elements used in a command ('command injection') in Microsoft Power Pages allows an…
- CVE-2025-59818 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute arbitrary commands on the underlying system using the file…
- CVE-2025-64093 — Critical (CVSS 10.0): Remote Code Execution vulnerability that allows unauthenticated attackers to inject arbitrary commands into the…
- CVE-2025-64090 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute commands via the hostname of the device.
- CVE-2025-61492 — Critical (CVSS 10.0): A command injection vulnerability in the execute_command function of terminal-controller-mcp 0.1.7 allows attackers to…
- CVE-2025-10035 — Critical (CVSS 10.0): A deserialization vulnerability in the License Servlet of Fortra's GoAnywhere MFT allows an actor with a validly forged…