logo

CVE-2024-6091 agpt

Package

Manager: pip
Name: agpt
Vulnerable Version: >=0 <=0.5.1

Severity

Level: Critical

CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00381 pctl0.58753

Details

AutoGPT bypass of the shell commands denylist settings 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.

Metadata

Created: 2024-09-11T15:31:12Z
Modified: 2024-09-18T22:11:39Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-g84q-54hf-36rg/GHSA-g84q-54hf-36rg.json
CWE IDs: ["CWE-78"]
Alternative ID: GHSA-g84q-54hf-36rg
Finding: F004
Auto approve: 1