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.
Published: 2024-09-11
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

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

Tue, 05 Aug 2025 15:45:00 +0000

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

Wed, 18 Sep 2024 19:00:00 +0000

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'}


Wed, 11 Sep 2024 19:30:00 +0000

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'}


Wed, 11 Sep 2024 13:00:00 +0000

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'}


Subscriptions

Agpt Autogpt Classic
Significant-gravitas Autogpt
cve-icon MITRE

Status: PUBLISHED

Assigner: @huntr_ai

Published:

Updated: 2024-09-11T18:23:23.728Z

Reserved: 2024-06-17T18:16:47.500Z

Link: CVE-2024-6091

cve-icon Vulnrichment

Updated: 2024-09-11T18:23:19.677Z

cve-icon NVD

Status : Analyzed

Published: 2024-09-11T13:15:03.440

Modified: 2025-08-05T15:35:27.480

Link: CVE-2024-6091

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses