CVE-2024-6091 CRITICAL

CVE-2024-6091: Shell Command Denylist Bypass in significant-gravitas/autogpt

Vendor Significant-Gravitas
Product significant-gravitas/autogpt
Weakness CWE-78
Published September 11, 2024
Last update September 11, 2024

CVSS base score

9.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

September 11, 2024 CVE published
September 11, 2024 Record updated