GCD AI RADAR
incidents/AIR-2025-0319

CVE-2025-54794: Claude Code Path Restriction Bypass Vulnerability

Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerabilityAgent hijack

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.

disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why

Details

type
Attack on AI
An AI model, agent or AI-powered product was the thing exploited, abused or leaked.
categories
  • Infrastructure vulnerabilityprimary
    CVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
  • Agent hijack
    An AI agent is tricked into unauthorized actions: tool misuse, data exfiltration through the agent, or acting against its principal.
mitre atlas
Both rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
severity
2 · Disclosed vulnerability
CVE or vendor advisory, patched or patchable, no confirmed exploitation.
targets
Anthropic, Framework / tooling
products
Claude Code
incident date
4 Aug 2025
first reported
4 Aug 2025
origin
GitHub Advisory Database
Vulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
classifier confidence
0.95 · published at or above 0.80; see the methodology
tags
CVE-2025-54794 · claude-code · path-traversal
record
created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z · json

Sources · 2

  1. 2025-08-04
  2. 2025-08-05
    CVE-2025-54794: Claude Code is an agentic coding tool.
    NVD · nvd.nist.gov/vuln/detail/CVE-2025-54794

Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.

Related incidents