CVE-2024-8156 Details
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.
A command injection vulnerability has been identified in the workflow-checker.yml file of Significant Gravitas AutoGPT, affecting all versions up to the latest release. The vulnerability arises from the insecure handling of untrusted user input, specifically the 'github.head.ref' variable, which can be exploited by injecting arbitrary commands. An attacker could create a branch name containing a malicious payload and submit a pull request, potentially gaining reverse shell access or stealing sensitive tokens and keys.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| agpt autogpt classic | < 0.5.1 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Oct 15, 2025 | CVE Modified | [email protected] |
| Aug 5, 2025 | CPE Deprecation Remap | [email protected] |
| Apr 1, 2025 | Initial Analysis | [email protected] |
| Mar 20, 2025 | CVE Modified | CISA-ADP |
| Mar 20, 2025 | New CVE Received | [email protected] |