{"cve":"CVE-2024-6091","nvd":{"published":"2024-09-11T13:15:03.440","modified":"2026-06-17T08:17:16.240","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-78"],"references":["https://github.com/significant-gravitas/autogpt/commit/ef691359b774a1f9f80cf4f5ace9821967b718ed","https://huntr.com/bounties/8a742c13-bb5e-4bc9-8b86-049d8a386050"],"products":["agpt:autogpt_classic"],"source":"nvd","synced_at":"2026-10-19T21:54:38.012257375+00:00"},"epss":{"cve":"CVE-2024-6091","score":0.00819,"percentile":0.57195,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-g84q-54hf-36rg","url":"https://osv.dev/vulnerability/GHSA-g84q-54hf-36rg","summary":"AutoGPT bypass of the shell commands denylist settings","modified":"2026-10-26T21:15:03.687137353Z","packages":[{"ecosystem":"PyPI","name":"agpt","purl":"pkg:pypi/agpt","ranges":["<=0.5.1"],"fixed":[]}]},{"id":"PYSEC-2026-257","url":"https://osv.dev/vulnerability/PYSEC-2026-257","summary":"AutoGPT bypass of the shell commands denylist settings","modified":"2026-07-01T20:22:47.654931Z","packages":[{"ecosystem":"PyPI","name":"agpt","purl":"pkg:pypi/agpt","ranges":["<=0.5.1"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}