Read the docs
TI-2024-05646 Aliases CVE-2024-6091GHSA-g84q-54hf-36rg

Shell Command Denylist Bypass in significant-gravitas/autogpt

Priority HIGH 82CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00819 57th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed significant-gravitas/autogpt (significant-gravitas): 0.5.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Significant-Gravitassignificant-gravitas/autogptbefore 0.5.10.5.1Patch availableCNA
—agpt (PyPI)up to 0.5.1—No fix listedGHSA-g84q-54hf-36rg
  • significant-gravitas/autogpt VendorSignificant-Gravitas Affected before 0.5.1 Fixed in 0.5.1 Patch available CNA
  • agpt (PyPI) Vendor— Affected up to 0.5.1 Fixed in — No fix listed GHSA-g84q-54hf-36rg

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:agpt:autogpt_classic:0.5.1:*:*:*:*:*:*:*0.5.1VulnerableSignificant-Gravitas

Remediation

  • Fix · CNA significant-gravitas/autogpt (significant-gravitas) Fixed in 0.5.1

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-6091
  2. 2026-10-03 Alias added: GHSA-g84q-54hf-36rg

References

  • TI-2024-07563 Command Injection in significant-gravitas/autogpt CVSS 3.1CRITICAL 9.8
  • TI-2024-01750 Improper Neutralization of Special Elements used in an OS Command in significant-gravitas/autogpt CVSS 3.1CRITICAL 9.8
  • TI-2024-01748 CSRF to RCE in significant-gravitas/autogpt CVSS 3.1HIGH 8.8
  • TI-2024-01749 OS Command Injection in MacOS Text-To-Speech Class in significant-gravitas/autogpt CVSS 3.1HIGH 7.8
  • TI-2023-18903 Docker escape in Auto-GPT when running from docker-compose.yml included in git repo CVSS 3.1HIGH 8.8
  • TI-2023-18904 Python code execution sandbox escape in non-docker version in Auto-GPT CVSS 3.1HIGH 7.8
See all 7 →

Sources