{"id":"CVE-2024-6091","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.","aliases":["GHSA-g84q-54hf-36rg","PYSEC-2026-257"],"modified":"2026-08-12T03:51:10.084836492Z","published":"2024-09-11T12:49:07.293Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6091.json","cna_assigner":"@huntr_ai","cwe_ids":["CWE-78"]},"references":[{"type":"WEB","url":"https://huntr.com/bounties/8a742c13-bb5e-4bc9-8b86-049d8a386050"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6091.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6091"},{"type":"FIX","url":"https://github.com/significant-gravitas/autogpt/commit/ef691359b774a1f9f80cf4f5ace9821967b718ed"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/significant-gravitas/autogpt","events":[{"introduced":"26324f29849967fa72c207da929af612f1740669"},{"fixed":"ef691359b774a1f9f80cf4f5ace9821967b718ed"}],"database_specific":{"cpe":"cpe:2.3:a:agpt:autogpt_classic:0.5.1:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.5.1"},{"last_affected":"0.5.1"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["0.5.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-6091.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}