● npm package
@anthropic-ai/claude-code
@anthropic-ai/claude-code has 30 security advisories. The newest release any of them names as the fix is 2.1.251.
As of , @anthropic-ai/claude-code has 30 security advisories. The newest release any of them names as the fix is 2.1.251.
Your version, and the version to upgrade to
| If you run | Upgrade to | Advisories |
|---|---|---|
| Before 2.1.251 | 2.1.251 | 30 advisories |
Security advisories, newest first
| Advisory | What it is | Affects | Fixed in | Published |
|---|---|---|---|---|
| CVE-2026-88968GHSA-5xjx-9qx6-jcrv | Claude Code: TOCTOU Race in Edit Tool Allows File Writes Outside the WorkspaceHigh severity | Before 2.1.251 | 2.1.251 | |
| CVE-2026-86063GHSA-pq7j-f95f-qfcv | Claude Code: Plugin Hash Pin Bypass Allows Bypass of Hash PinningHigh severity | Before 2.1.179 | 2.1.179 | |
| CVE-2026-55607GHSA-7835-87q9-rgvv | Claude Code: Sandbox Escape via Git Worktree Path Confusion Allows Unsandboxed Code ExecutionHigh severity | From 2.1.38 before 2.1.163 | 2.1.163 | |
| CVE-2026-46406GHSA-4vp2-6q8c-pvq2 | @anthropic-ai/claude-code has an Insecure Temporary File in /copy Command that Enables Response Disclosure and Symlink-Based File WriteModerate severity | From 2.1.59 before 2.1.128 | 2.1.128 | |
| CVE-2026-54316GHSA-fg94-h982-f3mm | Claude Code: Out-of-Band Data Exfiltration via Pre-Approved HuggingFace Domain in WebFetchModerate severity | From 0.2.54 before 2.1.163 | 2.1.163 | |
| CVE-2026-40068GHSA-q5hj-mxqh-vv77 | Claude Code: Trust Dialog Bypass via Git Worktree Spoofing Allows Arbitrary Code ExecutionHigh severity | From 2.1.63 before 2.1.84 | 2.1.84 | |
| CVE-2026-39861GHSA-vp62-r36r-9xqp | Claude Code: Sandbox Escape via Symlink Following Allows Arbitrary File Write Outside WorkspaceHigh severity | Before 2.1.64 | 2.1.64 | |
| CVE-2026-35603GHSA-5cwg-9f6j-9jvx | Claude Code: Insecure System-Wide Configuration Loading Enables Local Privilege Escalation on WindowsModerate severity | Before 2.1.75 | 2.1.75 | |
| CVE-2026-33068GHSA-mmgp-wc2j-qcv7 | Claude Code has a Workspace Trust Dialog Bypass via Repo-Controlled Settings FileHigh severity | Before 2.1.53 | 2.1.53 | |
| CVE-2026-25725GHSA-ff64-7w26-62rf | Claude Code has Sandbox Escape via Persistent Configuration Injection in settings.jsonHigh severity | Before 2.1.2 | 2.1.2 | |
| CVE-2026-25724GHSA-4q92-rfm6-2cqx | Claude Code has Permission Deny Bypass Through Symbolic LinksLow severity | Before 2.1.7 | 2.1.7 | |
| CVE-2026-25723GHSA-mhg7-666j-cqg4 | Claude Code Vulnerable to Command Injection via Piped sed Command Bypasses File Write RestrictionsHigh severity | Before 2.0.55 | 2.0.55 | |
| CVE-2026-25722GHSA-66q4-vfjg-2qhh | Claude Code Vulnerable to Command Injection via Directory Change Bypasses Write ProtectionHigh severity | Before 2.0.57 | 2.0.57 | |
| CVE-2026-24887GHSA-qgqw-h4xq-7w8w | Claude Code has a Command Injection in find Command Bypasses User Approval PromptHigh severity | Before 2.0.72 | 2.0.72 | |
| CVE-2026-24053GHSA-q728-gf8j-w49r | Claude Code has a Path Restriction Bypass via ZSH Clobber which Allows Arbitrary File WritesHigh severity | Before 2.0.74 | 2.0.74 | |
| CVE-2026-24052GHSA-vhw5-3g5m-8ggf | Claude Code has a Domain Validation Bypass which Allows Automatic Requests to Attacker-Controlled DomainsHigh severity | Before 1.0.111 | 1.0.111 | |
| CVE-2026-21852GHSA-jh7p-qr78-84p7 | Claude Code Leaks Data via Malicious Environment Configuration Before Trust ConfirmationModerate severity | Before 2.0.65 | 2.0.65 | |
| CVE-2025-66032GHSA-xq4m-mc3c-vvg3 | Claude Code Command Validation Bypass Allows Arbitrary Code ExecutionHigh severity | Before 1.0.93 | 1.0.93 | |
| CVE-2025-64755GHSA-7mv8-j34q-vp7q | @anthropic-ai/claude-code has Sed Command Validation Bypass that Allows Arbitrary File WritesHigh severity | Before 2.0.31 | 2.0.31 | |
| CVE-2025-65099GHSA-5hhx-v7f6-x7gv | Claude Code vulnerable to command execution prior to startup trust dialogHigh severity | Before 1.0.39 | 1.0.39 | |
| CVE-2025-59829GHSA-66m2-gx93-v996 | Claude Code permission deny bypass through symlinkLow severity | Before 1.0.120 | 1.0.120 | |
| CVE-2025-59536GHSA-4fgq-fpq9-mr3g | Claude Code can execute commands prior to the startup trust dialogHigh severity | Before 1.0.111 | 1.0.111 | |
| CVE-2025-59828GHSA-2jjv-qf24-vfm4 | Claude Code Vulnerable to Arbitrary Code Execution via Plugin Autoloading with Specific Yarn VersionsHigh severity | Before 1.0.39 | 1.0.39 | |
| CVE-2025-59041GHSA-j4h9-wv2m-wrf7 | Claude Code vulnerable to arbitrary code execution caused by maliciously configured git emailHigh severity | Before 1.0.105 | 1.0.105 | |
| CVE-2025-58764GHSA-qxfv-fcpc-w36x | Claude Code rg vulnerability does not protect against approval prompt bypassHigh severity | Before 1.0.105 | 1.0.105 | |
| GHSA-ph6w-f82w-28w6 | Claude Code Vulnerable to Arbitrary Code Execution Due to Insufficient Startup WarningHigh severity | Before 1.0.87 | 1.0.87 | |
| CVE-2025-55284GHSA-x5gv-jw7f-j6xj | Claude Code's Permissive Default Allowlist Enables Unauthorized File Read and Network Exfiltration in Claude CodeHigh severity | Before 1.0.4 | 1.0.4 | |
| CVE-2025-54795GHSA-x56v-x2h6-7j34 | Claude Code echo command allowed bypass of user approval prompt for command executionHigh severity | Before 1.0.20 | 1.0.20 | |
| CVE-2025-54794GHSA-pmw4-pwvc-3hx2 | Claude Code Research Preview has a Path Restriction Bypass which could allow unauthorized file accessHigh severity | Before 0.2.111 | 0.2.111 | |
| CVE-2025-52882GHSA-9f65-56v6-gxw7 | Claude Code Improper Authorization via websocket connections from arbitrary originsHigh severity | From 0.2.116 before 1.0.24 | 1.0.24 |
Other npm packages
- astro31 advisories
- flowise-components31 advisories
- nuxt30 advisories
- payload29 advisories
Sources
- Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0