@anthropic-ai/claude-code Known Vulnerabilities & Fixes
@anthropic-ai/claude-code has 4 known security vulnerabilities in npm (Node.js). Upgrade to version 2.1.163 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.
Low Immediate Risk
No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.
Recommended safe version: 2.1.163
Upgrading to 2.1.163 or later resolves all 4 known vulnerabilities in @anthropic-ai/claude-code. Run: npm install @anthropic-ai/claude-code@2.1.163
Is @anthropic-ai/claude-code in your project?
Check if you're affected and upgrade to 2.1.163 to stay secure.
Security Summary
- 4 affected version ranges have been identified across these 4 advisories.
- 100% of known issues have a published fixed version.
- Remediation: npm update @anthropic-ai/claude-code
Vulnerabilities
4 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed Nov 20, 2025, most recently Jun 17, 2026 (209 days apart).
| CVE / GHSA | Severity | Affected | Fixed In |
|---|---|---|---|
| CVE-2025-64755 @anthropic-ai/claude-code has Sed Command Validation Bypass that Allows Arbitrary File Writes | HIGH | All versions | 2.0.31 |
| CVE-2025-66032 Claude Code Command Validation Bypass Allows Arbitrary Code Execution | HIGH | All versions | 1.0.93 |
| CVE-2026-39861 Claude Code: Sandbox Escape via Symlink Following Allows Arbitrary File Write Outside Workspace | HIGH | All versions | 2.1.64 |
| CVE-2026-54316 Claude Code: Out-of-Band Data Exfiltration via Pre-Approved HuggingFace Domain in WebFetch | MEDIUM | All versions | 2.1.163 |
About This Data
Vulnerability data for @anthropic-ai/claude-code is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.
CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
Related npm (Node.js) Packages
Other packages in this ecosystem, ranked by shared vulnerabilities where available.
Check Your Dependencies
Scan your project to check if you're using a vulnerable version of @anthropic-ai/claude-code.