CVE-2024-8156

Source
https://cve.org/CVERecord?id=CVE-2024-8156
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8156.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-8156
Published
2025-03-20T10:09:12.930Z
Modified
2026-07-15T01:48:53.051053921Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Command Injection in significant-gravitas/autogpt
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8156.json",
    "cna_assigner": "@huntr_ai",
    "cwe_ids": [
        "CWE-77"
    ]
}
References

Affected packages

Git / github.com/significant-gravitas/autogpt

Affected ranges

Type
GIT
Repo
https://github.com/significant-gravitas/autogpt
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:agpt:autogpt_classic:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.5.1"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

agbenchmark-v0.*
agbenchmark-v0.0.10
autogpt-v0.*
autogpt-v0.5.0
v0.*
v0.1.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8156.json"