CVE-2024-6091

Source
https://cve.org/CVERecord?id=CVE-2024-6091
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-6091.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-6091
Aliases
Published
2024-09-11T13:15:03.440Z
Modified
2026-03-12T17:15:16.203659Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/significant-gravitas/autogpt

Affected ranges

Type
GIT
Repo
https://github.com/significant-gravitas/autogpt
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.5.1"
        }
    ]
}

Affected versions

agbenchmark-v0.*
agbenchmark-v0.0.10
autogpt-v0.*
autogpt-v0.5.0
autogpt-v0.5.1
v0.*
v0.1.0
v0.1.1
v0.1.2
v0.1.3
v0.2.0
v0.2.1
v0.2.2
v0.3.0
v0.3.1
v0.4.0
v0.4.1
v0.4.2
v0.4.3
v0.4.3-alpha
v0.4.4
v0.4.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-6091.json"