{
 "id": "AIR-2025-0319",
 "slug": "cve-2025-54794-claude-code-path-restriction-bypass-vulnerabi",
 "title": "CVE-2025-54794: Claude Code Path Restriction Bypass Vulnerability",
 "summary": "A path validation flaw in Claude Code allows unauthorized file access outside the current working directory using prefix matching. Exploitation requires injecting untrusted content into the context window alongside a directory with a matching prefix.",
 "type": "attack_on_ai",
 "categories": [
  "infra_vuln",
  "agent_hijack"
 ],
 "severity": 2,
 "targets": [
  "Anthropic",
  "framework_or_tooling"
 ],
 "products": [
  "Claude Code"
 ],
 "incident_date": "2025-08-04",
 "incident_date_precision": "day",
 "first_reported": "2025-08-04",
 "sources": [
  {
   "url": "https://github.com/advisories/GHSA-pmw4-pwvc-3hx2",
   "publisher": "GitHub Advisory Database",
   "title": "CVE-2025-54794: Claude Code Research Preview has a Path Restriction Bypass which could allow unauthorized file access",
   "published_at": "2025-08-04"
  },
  {
   "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-54794",
   "publisher": "NVD",
   "title": "CVE-2025-54794: Claude Code is an agentic coding tool.",
   "published_at": "2025-08-05"
  }
 ],
 "source_count": 2,
 "confidence": 0.95,
 "status": "published",
 "origin": "seed_ghsa",
 "tags": [
  "CVE-2025-54794",
  "claude-code",
  "path-traversal"
 ],
 "created_at": "2026-10-18T07:00:14.101Z",
 "updated_at": "2026-10-18T10:04:21.885Z"
}
