A AegiFlow
CRITICALCVSS 9.3EPSS 0.8%

CVE-2024-6091

AutoGPT bypass of the shell commands denylist settings

Published
2024-09-11
Modified
2026-10-26
EPSS percentile
57%
Aliases
GHSA-g84q-54hf-36rg
Sources
github-advisory

Summary

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.

Affected packages

EcosystemPackageAffected versionsFixed versions
PyPIagpt——

Remediation: No patched version is listed by GitHub.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.