7.7Yüksek

CVE-2026-25722Claude Code Vulnerable to Command Injection via Directory Change Bypasses Write Protection

anthropics claude-code Yayım: (9 ay önce)

Açıklama

Claude Code is an agentic coding tool. Prior to version 2.0.57, Claude Code failed to properly validate directory changes when combined with write operations to protected folders. By using the cd command to navigate into sensitive directories like .claude, it was possible to bypass write protection and create or modify files without user confirmation. Reliably exploiting this required the ability to add untrusted content into a Claude Code context window. This issue has been patched in version 2.0.57.

Zayıflık türü (CWE): CWE-20CWE-78

Veri: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Bilgiler kaynaktaki haliyle, İngilizce yayımlanır.

Etkilenen ürünler ve sürümler

ÜreticiÜrünSürümler
anthropic claude code < 2.0.57
anthropics claude-code < 2.0.57

Kaynaklar ve yamalar

CPE eşleşmeleri (NVD) (1)

  • cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:* < 2.0.57