Read the docs
TI-2024-01750 Aliases CVE-2024-1881GHSA-rr88-j2r8-3xpc

Improper Neutralization of Special Elements used in an OS Command in significant-gravitas/autogpt

Priority HIGH 76CWE-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. Impact type from CWE-78.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01427 73rd percentileScored 2026-11-07
Fix Fixed significant-gravitas/autogpt (significant-gravitas): 5.1.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
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 5.1.05.1.0Patch availableCNA
  • significant-gravitas/autogpt VendorSignificant-Gravitas Affected before 5.1.0 Fixed in 5.1.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:agpt:autogpt_classic:*:*:*:*:*:*:*:*0.5.0 to before 0.5.1VulnerableSignificant-Gravitas
  • cpe:2.3:a:agpt:autogpt_classic:*:*:*:*:*:*:*:* Versions 0.5.0 to before 0.5.1 Vulnerable ·Significant-Gravitas

Remediation

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

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    significant-gravitas/autogpt 5.1.0

    2 records Highest priority Priority HIGH 2 HIGH

    Other records, highest priority first

    • TI-2024-01749 OS Command Injection in MacOS Text-To-Speech Class in significant-gravitas/autogptPriority HIGH 69

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-1881
  2. 2026-10-03 Alias added: GHSA-rr88-j2r8-3xpc

References

  • TI-2024-05646 Shell Command Denylist Bypass in significant-gravitas/autogpt CVSS 3.1CRITICAL 9.8
  • TI-2024-07563 Command Injection 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