CVE-2024-6091: Shell Command Denylist Bypass in significant-gravitas/autogpt

Published Sep 11, 2024
·
Updated

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.

Other sources

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.

GitHub

Affected Software

3 affected components
pip/agpt<=0.5.1
Agpt Autogpt=0.5.1
Agpt Autogpt Classic=0.5.1

Event History

Sep 11, 2024
CVE Published
via MITRE·12:49 PM
Data Sourced
via MITRE·12:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·03:31 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-6091?

CVE-2024-6091 has a severity rating that indicates it can allow attackers to bypass critical denylist protections.

2

How do I fix CVE-2024-6091?

To fix CVE-2024-6091, update the significant-gravitas/autogpt package to version 0.5.2 or later.

3

What types of attacks can occur due to CVE-2024-6091?

Due to CVE-2024-6091, attackers can execute prohibited shell commands that are meant to be blocked by denylist settings.

4

Which software versions are affected by CVE-2024-6091?

CVE-2024-6091 affects significant-gravitas/autogpt version 0.5.1 and earlier.

5

Is CVE-2024-6091 a remote or local vulnerability?

CVE-2024-6091 is primarily a local vulnerability that requires attacker access to the system where autogpt is running.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203