CVE-2024-6091: A vulnerability in significant-gravitas/autogpt version 0.5.1 allows an attacker to bypass the shell commands
CVE-2024-6091 is a critical-severity flaw (CVSS 9.8) affecting autogpt classic. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.8% (top 43%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2024-09-11 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-6091?
autogpt classic: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-6091 being exploited?
CVE-2024-6091 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-6091 affect?
CVE-2024-6091 affects autogpt classic. Severity is critical (CVSS 9.8). 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'
How urgent is CVE-2024-6091?
Priority 59/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2024-8156 CRITICAL 9.8 UPGRADE A command injection vulnerability exists in the workflow-checker.yml workflow of significant-gravitas/autogpt
- CVE-2024-1881 CRITICAL 9.8 UPGRADE AutoGPT, a component of significant-gravitas/autogpt, is vulnerable to an improper neutralization of special e
- CVE-2024-1880 HIGH 7.8 UPGRADE An OS command injection vulnerability exists in the MacOS Text-To-Speech class MacOSTTS of the significant-gra
- CVE-2024-1879 HIGH 8.8 DOWNGRADE A Cross-Site Request Forgery (CSRF) vulnerability in significant-gravitas/autogpt version v0.5.0 allows attack