All reports
Critical

AutoGPT bypass of the shell commands denylist settings

Affected versions

Version ranges need review.

PyPIagpt
Affected versions
<= 0.5.1
Fixed version
Not reported
PyPIagpt
Affected versions
<=0.5.1 || =0.2.2
Fixed version
Not reported

Exploitation

CVE-2024-6091

Probability of exploitation in the next 30 days: 0.82%

FIRST EPSS · 2026-11-23

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.

Links