{"id":"CVE-2024-6091","state":"PUBLISHED","title":"Shell Command Denylist Bypass in significant-gravitas/autogpt","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.","publishedAt":"2024-09-11T12:49:07.293Z","updatedAt":"2024-09-11T18:23:23.728Z","severity":{"score":9.8,"label":"Critical","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"@huntr_ai"},"assigner":"@huntr_ai","products":["significant-gravitas significant-gravitas/autogpt"],"affected":[{"vendor":"significant-gravitas","product":"significant-gravitas/autogpt","versions":[{"version":"unspecified","status":"affected","lessThan":"0.5.1","versionType":"custom"}]}],"references":["https://huntr.com/bounties/8a742c13-bb5e-4bc9-8b86-049d8a386050","https://github.com/significant-gravitas/autogpt/commit/ef691359b774a1f9f80cf4f5ace9821967b718ed"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/6xxx/CVE-2024-6091.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-6091","state":"PUBLISHED","datePublished":"2024-09-11T12:49:07.293Z","dateUpdated":"2024-09-11T18:23:23.728Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2024-06-17T18:16:47.500Z"},"containers":{"cna":{"title":"Shell Command Denylist Bypass in significant-gravitas/autogpt","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"significant-gravitas","product":"significant-gravitas/autogpt","versions":[{"version":"unspecified","status":"affected","lessThan":"0.5.1","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/8a742c13-bb5e-4bc9-8b86-049d8a386050"},{"url":"https://github.com/significant-gravitas/autogpt/commit/ef691359b774a1f9f80cf4f5ace9821967b718ed"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","type":"CWE","lang":"en","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2024-09-11T12:49:07.293Z"},"source":{"advisory":"8a742c13-bb5e-4bc9-8b86-049d8a386050","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"significant-gravitas","product":"autogpt","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"0.5.1","versionType":"custom"}],"cpes":["cpe:2.3:a:significant-gravitas:autogpt:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-11T18:22:48.647499Z","id":"CVE-2024-6091","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T18:23:23.728Z"}}]}}}