CVE-2024-6091

published 11 Sep 2024 · updated 11 Sep 2024

Shell Command Denylist Bypass in significant-gravitas/autogpt

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 0.5.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Significant-Gravitas<0.5.10.5.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-6091 severity on Zeptric[![CVE-2024-6091](https://zeptric.io/badge/cve/CVE-2024-6091.svg)](https://zeptric.io/cve/CVE-2024-6091)