{
 "public_id": "AIR-2024-0039",
 "incident_id": "2024-09-autogpt-shell-denylist-bypass",
 "date_disclosed": "2024-09-11",
 "date_occurred": null,
 "title": "CVE-2024-6091: AutoGPT shell-command denylist bypassed with a modified path (/bin/./whoami)",
 "class": "responsible_disclosure",
 "attack_surface": "agent_framework",
 "initial_vector": "agent_generated_shell_command",
 "agent_capability_abused": [
  "shell_execution"
 ],
 "target_product": "AutoGPT (pip agpt)",
 "target_vendor": "Significant Gravitas",
 "autonomy_level": "fully_autonomous",
 "impact_realized": false,
 "impact_type": [
  "command_execution",
  "control_bypass"
 ],
 "blast_radius": "AutoGPT <= 0.5.1 operators relying on the shell denylist as their containment control",
 "cve": [
  "CVE-2024-6091"
 ],
 "taxonomy": {
  "owasp_asi": [
   "ASI05"
  ],
  "mitre_atlas": [],
  "labels": [
   "denylist_bypass",
   "path_normalization",
   "cwe_78",
   "autonomous_agent",
   "containment_failure"
  ]
 },
 "defense_present": "configurable shell-command denylist",
 "defense_bypassed": true,
 "fix_shipped": "none listed on the advisory",
 "primary_sources": [
  "https://github.com/advisories/GHSA-g84q-54hf-36rg"
 ],
 "verified_quote": "executing commands with a modified path, such as `/bin/./whoami`, which is not recognized by the denylist.",
 "confidence": "high",
 "notes": "GHSA-g84q-54hf-36rg, CVSS 9.3 Critical, CWE-78, published 2024-09-11. Historically important as one of the earliest CVEs showing that denylist-based containment of an autonomous agent's shell access does not hold. AutoGPT has a long tail of related 2024 CVEs (CVE-2024-1880 macOS TTS command injection, CVE-2024-1879 CSRF, CVE-2024-10457 SSRF, CVE-2025-1040 SSTI, CVE-2025-41023 auth bypass, CVE-2026-24780 RCE via disabled block execution) not individually recorded.",
 "risk_category": "security_fraud",
 "risk_secondary": [],
 "risk_subcategory": "Remote Code Execution & Sandbox Escape",
 "risk_sub_secondary": [],
 "risk_override_reason": "the shell denylist was the control and it was bypassed, yielding arbitrary command execution",
 "ai_entity": "generative",
 "agency": "agent_acted",
 "agency_debatable": false,
 "agency_reason": "the agent executed shell commands past its own denylist",
 "vector_family": "other",
 "vector_detail": "agent_generated_shell_command",
 "guardrail_kind": [
  "permission_scope"
 ],
 "guardrail_outcome": "silent",
 "xrefs": {
  "aiid": [],
  "atlas": [],
  "cve": [
   "CVE-2024-6091"
  ],
  "ghsa": []
 },
 "primary_asi": "ASI05",
 "agent_framework": "unknown",
 "model_provider": "unknown",
 "model_name": "",
 "detection_mechanism": "unknown",
 "tool_access": "unknown",
 "financial_loss_band": "unknown",
 "eai_category": "privilege_escalation",
 "eai_domain": "access_control_and_permissions",
 "eai_secondary": [],
 "eai_reason": "subcategory: Remote Code Execution & Sandbox Escape",
 "asi_curated": [],
 "asi_scope": "in_scope",
 "asi_provenance": "rule",
 "asi_reason": "ASI05 (vector=code_exec)",
 "submitted_by": "EAI Internal"
}