CVE-2024-6091

Shell Command Denylist Bypass in significant-gravitas/autogpt

Published Sep 11, 2024 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2796 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 GHSA Github GHSA GHSA-g84q-54hf-36rg AutoGPT bypass of the shell commands denylist settings
History
Type Values Removed Values Added
First Time appeared Agpt autogpt Classic
CPEs cpe:2.3:a:agpt:autogpt:0.5.1:*:*:*:*:*:*:* cpe:2.3:a:agpt:autogpt_classic:0.5.1:*:*:*:*:*:*:*
Vendors & Products Agpt autogpt
Agpt autogpt Classic
Type Values Removed Values Added
First Time appeared Agpt
Agpt autogpt
CPEs cpe:2.3:a:agpt:autogpt:0.5.1:*:*:*:*:*:*:*
Vendors & Products Agpt
Agpt autogpt
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Significant-gravitas
Significant-gravitas autogpt
CPEs cpe:2.3:a:significant-gravitas:autogpt:*:*:*:*:*:*:*:*
Vendors & Products Significant-gravitas
Significant-gravitas autogpt
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Shell Command Denylist Bypass in significant-gravitas/autogpt
Weaknesses CWE-78
References
Metrics cvssV3_0

{'score': 9.8, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Sep 11, 2024, 6:23 PM
Reserved
Jun 17, 2024, 6:16 PM
Status
Analyzed
Published
Sep 11, 2024, 1:15 PM
Modified
Jun 17, 2026, 8:17 AM