NIXPKGS-2026-0141
GitHub issue
published on 7 Feb 2026
by @LeSuisse Activity log
- Created automatic suggestion
-
@LeSuisse
removed
6 packages
- claude-code-acp
- claude-code-router
- gnomeExtensions.claude-code-switcher
- vscode-extensions.anthropic.claude-code
- gnomeExtensions.claude-code-usage-indicator
- claude-code-bin
- @LeSuisse accepted
-
@LeSuisse
removed
8 maintainers
- @omarjatoi
- @malob
- @markus1189
- @storopoli
- @xiaoxiangmoe
- @mirkolenz
- @Prince213
- @honnip
- @LeSuisse published on GitHub
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.
Affected products
claude-code
- ==< 2.0.57
Package maintainers
Ignored maintainers (3)
-
@omarjatoi Omar Jatoi
-
@malob Malo Bourgon <mbourgon@gmail.com>
-
@markus1189 Markus Hauck <markus1189@gmail.com>