CVE-2024-6091

Source
https://cve.org/CVERecord?id=CVE-2024-6091
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-6091.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-6091
Aliases
Published
2024-09-11T12:49:07.293Z
Modified
2026-08-12T03:51:10.084836492Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Shell Command Denylist Bypass in significant-gravitas/autogpt
Details

A vulnerability in significant-gravitas/autogpt version 0.5.1 allows an attacker to bypass the shell commands denylist settings. The issue arises when the denylist is configured to block specific commands, such as 'whoami' and '/bin/whoami'. An attacker can circumvent this restriction by executing commands with a modified path, such as '/bin/./whoami', which is not recognized by the denylist.

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

Affected packages

Git / github.com/significant-gravitas/autogpt

Affected ranges

Type
GIT
Repo
https://github.com/significant-gravitas/autogpt
Events
Database specific
Show details
{
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:agpt:autogpt_classic:0.5.1:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0.5.1"
        },
        {
            "last_affected": "0.5.1"
        }
    ]
}

Affected versions

0.*
0.5.1

Database specific

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