What’s Vulnerable › Vulnerabilities
CVE-2024-6091: Shell Command Denylist Bypass in significant-gravitas/autogpt
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-09-11 · updated 2026-06-17
- Weakness: CWE-78
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.
Affected products
- Agpt Autogpt Classic: 0.5.1
References
- https://github.com/significant-gravitas/autogpt/commit/ef691359b774a1f9f80cf4f5ace9821967b718ed
- https://huntr.com/bounties/8a742c13-bb5e-4bc9-8b86-049d8a386050
Get alerted when CVE-2024-6091 or the next vulnerability affects your stack