CVE-2024-1881
published high CVSS 3.0 · 8.8Improper Neutralization of Special Elements used in an OS Command in significant-gravitas/autogpt
Package status and fixes
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| significant-gravitas | significant-gravitas/autogpt | unspecified to < 5.1.0 (affected · custom) | @huntr_ai · cna |
| significant-gravitas | autogpt | 0.5.0 to < 5.1.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
2Provider assertions
3@huntr_ai · cna
Improper Neutralization of Special Elements used in an OS Command in significant-gravitas/autogpt
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4b78d6773b246799131cb0e9ed302d2543cf037b9682cf3daa553357a19c3b60
- Ingested
- 23 Sep 2026, 08:18:22 UTC
- Source record
- Official CVE record