ADVISORIES

Vulnerability

CVE-2024-6091

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.

2 advisories report this vulnerability, across 1 ecosystem.

Critical severity PyPI 2

Advisories

  • GHSA-g84q-54hf-36rg

    AutoGPT bypass of the shell commands denylist settings

    Critical CVE-2024-6091 PyPI Updated 26 October 2026
  • PYSEC-2026-257

    AutoGPT bypass of the shell commands denylist settings

    CVE-2024-6091 PyPI Updated 1 July 2026

References