p PatchFirst

CVE-2026-25722

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

Здесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.

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.

CVSS 7.7 · Высокий · EPSS 0,5% · Есть исправление

Опубликовано
Обновлено

Стек: node

Затронутые продукты и версии

  • claude-code

    Версии
    • < 2.0.57: Затронуто

    Нет опубликованного исправления

  • @anthropic-ai/claude-code npm

    Затронутые диапазоны версий
    • SEMVER: < 2.0.57

    Обновитесь до 2.0.57

Первоисточники

Проверьте свой сервер →