{"schema":"threatline.record/2","record":{"id":"CVE-2024-6091","aliases":["GHSA-g84q-54hf-36rg","PYSEC-2026-257"],"summary":"AutoGPT bypass of the shell commands denylist settings","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.","categories":["Libraries & packages"],"product":"agpt","vendor":"significant-gravitas","ecosystem":"pip","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-g84q-54hf-36rg","source_modified_at":"2026-10-26T20:56:17Z","fetched_at":"2026-10-26T23:45:56.352924Z","package":{"ecosystem":"pip","name":"agpt"},"range":"<= 0.5.1"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2024-6091","source_modified_at":"2024-09-11T18:23:23.728Z","fetched_at":"2026-10-26T23:45:56.352924Z","product":"significant-gravitas/autogpt","vendor":"significant-gravitas","versions":[{"version":"unspecified","lessThan":"0.5.1","status":"affected","versionType":"custom"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-g84q-54hf-36rg","source_modified_at":"2026-10-26T21:15:03.687137353Z","fetched_at":"2026-10-26T23:45:56.352924Z","package":{"name":"agpt","ecosystem":"PyPI","purl":"pkg:pypi/agpt"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.5.1"}]}],"versions":["0.2.2"]}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2024-6091","source_modified_at":"2024-09-11T18:23:23.728Z","fetched_at":"2026-10-26T23:45:56.352924Z","package":{"name":"significant-gravitas/autogpt","ecosystem":null},"version":"0.5.1","basis":"first unaffected version stated in the CVE record"}],"cvss":9.3,"severity":"Critical","kev":{"listed":false},"epss":{"probability":0.00819,"percentile":0.56915,"score_date":"2026-10-26"},"published_at":"2024-09-11T12:49:07.293Z","modified_at":"2026-10-26T21:15:03.687137353Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-g84q-54hf-36rg","fetched_at":"2026-10-26T23:45:56.352924Z","source_modified_at":"2026-10-26T20:56:17Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-6091","fetched_at":"2026-10-26T23:45:56.352924Z","source_modified_at":"2024-09-11T18:23:23.728Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-g84q-54hf-36rg","fetched_at":"2026-10-26T23:45:56.352924Z","source_modified_at":"2026-10-26T21:15:03.687137353Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-6091","fetched_at":"2026-10-26T23:45:56.352924Z","source_modified_at":"2026-10-26"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6091","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/significant-gravitas/autogpt/commit/ef691359b774a1f9f80cf4f5ace9821967b718ed"},{"source":"CVE List","url":"https://huntr.com/bounties/8a742c13-bb5e-4bc9-8b86-049d8a386050"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/agpt/PYSEC-2026-257.yaml","source":"GitHub Advisory Database"},{"url":"https://pypi.org/project/agpt","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-g84q-54hf-36rg","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total","assessed_at":"2024-09-11T18:22:48.647499Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-26T21:15:03.687137353Z","content_hash":"c7a25f5992fb5e3ac41b3e0507ee0ff1e00225a7ded3d60de3fbc490f63c2ce1"}}
