CVE-2024-6091
Shell Command Denylist Bypass in significant-gravitas/autogpt
- State
- Published
- Severity
- 9.8 Critical
- Published
- Sep 11, 2024
- Updated
- Sep 11, 2024
- Reserved
- Jun 17, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.0 | 9.8 Critical | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | @huntr_ai |
Weaknesses
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Affected Products
| Product | Versions |
|---|---|
significant-gravitas/autogptsignificant-gravitas |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.