RCE in Agpt Autogpt Classic
CVE-2024-6091
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.008 (55.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 55th percentile — 55.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: 0.000
Affected products
- Agpt Autogpt Classic — versions 0.5.1
- Significant-Gravitas Significant-Gravitas/autogpt — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- huntr.com/bounties/8a742c13-bb5e-4bc9-8b86-049d8a386050 (Exploit, Third Party Advisory)
- github.com/significant-gravitas/autogpt/commit/ef691359b774a1f9f80cf4f5ace98219… (Patch)
Frequently asked questions
- What is CVE-2024-6091?
- CVE-2024-6091 is a critical-severity vulnerability in Agpt Autogpt Classic, classified under OS Command Injection. CVSS score: 9.8/10. Published 2024-09-11.
- How severe is CVE-2024-6091?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2024-6091 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.