CVE-2024-1881: Improper Neutralization of Special Elements used in an OS Command in significant-gravitas/autogpt

Published Jun 6, 2024
·
Updated

AutoGPT, a component of significant-gravitas/autogpt, is vulnerable to an improper neutralization of special elements used in an OS command ('OS Command Injection') due to a flaw in its shell command validation function. Specifically, the vulnerability exists in versions v0.5.0 up to but not including 5.1.0. The issue arises from the application's method of validating shell commands against an allowlist or denylist, where it only checks the first word of the command. This allows an attacker to bypass the intended restrictions by crafting commands that are executed despite not being on the allowlist or by including malicious commands not present in the denylist. Successful exploitation of this vulnerability could allow an attacker to execute arbitrary shell commands.

Affected Software

1 affected component
Agpt Autogpt Classic>=0.5.0<0.5.1

Event History

Jun 6, 2024
CVE Published
via MITRE·06:19 PM
Data Sourced
via MITRE·06:19 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
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-1881?

CVE-2024-1881 is categorized as a high severity vulnerability due to its potential for OS command injection.

2

How do I fix CVE-2024-1881?

To mitigate CVE-2024-1881, upgrade AutoGPT to a version higher than 0.5.1 where the shell command validation issue has been addressed.

3

What specific software versions are affected by CVE-2024-1881?

CVE-2024-1881 affects AutoGPT versions from 0.5.0 up to but not including 0.5.1.

4

What kind of attack is possible via CVE-2024-1881?

CVE-2024-1881 allows for OS Command Injection, which can enable attackers to execute arbitrary commands on the host system.

5

Is CVE-2024-1881 exploitable remotely?

Yes, CVE-2024-1881 can be exploited remotely, increasing the risk for systems utilizing the vulnerable software.

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