CVE-2024-6091
significant-gravitas significant-gravitas/autogpt — Shell Command Denylist Bypass in significant-gravitas/autogpt
Description · from the CVE record
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
ProductAffectedFixed inSource
significant-gravitas/autogptunspecified – < 0.5.10.5.1CNA
autogpt< 0.5.10.5.1CISA-ADP
Scores by source
@huntr_ai (CNA)9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total