cvedb.io
CVE-2025-54794
CRITICAL · CVSS 9.1
EPSS exploitation probability: 0%
Published 2025-08-05T01:15:41.877 · Last modified 2026-06-17T09:40:43.057

Summary

Claude Code is an agentic coding tool. In versions below 0.2.111, a path validation flaw using prefix matching instead of canonical path comparison, makes it possible to bypass directory restrictions and access files outside the CWD. Successful exploitation depends on the presence of (or ability to create) a directory with the same prefix as the CWD and the ability to add untrusted content into a Claude Code context window. This is fixed in version 0.2.111.

Affected products

anthropic — claude_code

Does this affect you?

Add your gear to cvedb and we'll alert you only when anthropic ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.