{"id":"CVE-2024-6091","published":"2024-09-11T12:49:07Z","modified":"2024-09-11T18:23:23Z","title":"Shell Command Denylist Bypass in significant-gravitas/autogpt","vendor":"significant-gravitas","product":"significant-gravitas/autogpt","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00819,"percentile":0.58077,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://huntr.com/bounties/8a742c13-bb5e-4bc9-8b86-049d8a386050","tags":[]},{"url":"https://github.com/significant-gravitas/autogpt/commit/ef691359b774a1f9f80cf4f5ace9821967b718ed","tags":[]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":11.62},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"significant-gravitas","affectedVersions":[{"vendor":"significant-gravitas","product":"significant-gravitas/autogpt","versions":[">= unspecified, < 0.5.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-09-11T18:22:48.647499Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"agpt","vulnerableRanges":["<=0.5.1"],"patched":[],"from":["GHSA-g84q-54hf-36rg","PYSEC-2026-257"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-2796","exploited":false,"provenance":"source"}}