Claude Code CVE-2025-54794/54795: path and command-allowlist bypasses
Listed: it resets no counter.
Cymulate's 'InversePrompt' research found two Claude Code flaws. A prefix-only path check let the agent escape its allowed directory (CVE-2025-54794), and command injection through whitelisted echo commands ran arbitrary commands without approval (CVE-2025-54795).
- Disclosed
- Aug 4, 2025
- Tags
- claude-code, cve-2025-54795, cve-2025-54794
What it did to the counters
-
sandbox vulnerability
It's listed, but doesn't reset the counter.
Vulnerabilities
Sources
- Cymulate: CVE-2025-54794 & CVE-2025-54795 — InversePrompt cymulate.com
- Wiz: CVE-2025-54795 wiz.io