CVE-2024-8156: A command injection vulnerability exists in the workflow-checker.yml workflow of significant-gravitas/autogpt
CVE-2024-8156 is a critical-severity flaw (CVSS 9.8) affecting autogpt classic. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 acce
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.7% (top 22%) |
| CISA exploited list | No |
| Weakness | CWE-77 |
| Published | 2025-03-20 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-8156?
autogpt classic: upgrade to 0.5.1. Exact commands for each OS are on this page.
Is CVE-2024-8156 being exploited?
CVE-2024-8156 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-8156 affect?
CVE-2024-8156 affects autogpt classic. Severity is critical (CVSS 9.8). 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 vulnerabil
How urgent is CVE-2024-8156?
Priority 64/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2024-6091 CRITICAL 9.8 DOWNGRADE A vulnerability in significant-gravitas/autogpt version 0.5.1 allows an attacker to bypass the shell commands
- CVE-2024-1881 CRITICAL 9.8 UPGRADE AutoGPT, a component of significant-gravitas/autogpt, is vulnerable to an improper neutralization of special e
- CVE-2024-1880 HIGH 7.8 UPGRADE An OS command injection vulnerability exists in the MacOS Text-To-Speech class MacOSTTS of the significant-gra
- CVE-2024-1879 HIGH 8.8 DOWNGRADE A Cross-Site Request Forgery (CSRF) vulnerability in significant-gravitas/autogpt version v0.5.0 allows attack