Skip to content
OpenAdvisories
Critical · 9.8 CVE-2024-6091 EUVD-2024-2796GHSA-g84q-54hf-36rgPYSEC-2026-257

Shell Command Denylist Bypass in significant-gravitas/autogpt

Published Sep 11, 2024 · Updated Sep 11, 2024 · Assigned by @huntr_ai

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.

Affected products

VendorProductAffectedFixed
significant-gravitas significant-gravitas/autogpt unspecified – < 0.5.1 0.5.1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI agpt <= 0.5.1 — GHSA-g84q-54hf-36rg

References