Skip to main content
← All vulnerabilities
CVE-2024-6091PYSEC-2026-257GHSA-G84Q-54HF-36RG

Shell Command Denylist Bypass in significant-gravitas/autogpt

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.5.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • significant-gravitas significant-gravitas/autogpt

    fixed in 0.5.1

  • agptPyPI

    through 0.5.1

References 2

huntr.com

GitHub · significant-gravitas/autogpt