Vulnerability 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 Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Agpt | Autogpt Classic | < 0.5.1 |
Related Weaknesses (CWE)
References
- https://github.com/significant-gravitas/autogpt/commit/1df7d527dd37dff8363dc162fPatch
- https://huntr.com/bounties/959efe87-f109-4cef-94d8-90ff2c7aef51Exploit
- https://huntr.com/bounties/959efe87-f109-4cef-94d8-90ff2c7aef51Exploit
FAQ
What is CVE-2024-8156?
CVE-2024-8156 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 in...
How severe is CVE-2024-8156?
CVE-2024-8156 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2024-8156?
Check the references section above for vendor advisories and patch information. Affected products include: Agpt Autogpt Classic.