Critical Claude Code vulnerabilities
4 CVEs in 2026
June 2026
Because the hostname huggingface.co was pre-approved as a bare hostname for the WebFetch tool, any path on that domain—including attacker-controlled model repositories—was auto-approved without a permission…
April 2026
Claude Code's sandbox did not prevent sandboxed processes from creating symlinks pointing to locations outside the workspace.
February 2026
Claude Code's bubblewrap sandboxing mechanism failed to properly protect the .claude/settings.json configuration file when it did not exist at startup.
Claude Code failed to properly validate directory changes when combined with write operations to protected folders.
December 2025
Due to errors in parsing shell commands related to $IFS and short CLI flags, it was possible to bypass the Claude Code read-only validation and trigger arbitrary code execution.
November 2025
Due to an error in sed command parsing, it was possible to bypass the Claude Code read-only validation and write to arbitrary files on the host system.
When running on a machine with Yarn 3.0 or above, Claude Code could have been tricked to execute code contained in a project via yarn plugins before the user accepted the startup trust dialog.
September 2025
When using Claude Code with Yarn versions 2.0+, Yarn plugins are auto-executed when running yarn --version.
At startup, Claude Code executed a command templated in with `git config user.email`.
Due to an error in command parsing, versions prior to 1.0.105 were vulnerable to a bypass of the Claude Code confirmation prompt to trigger execution of an untrusted command.
August 2025
An error in command parsing makes it possible to bypass the Claude Code confirmation prompt to trigger execution of an untrusted command.
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.
