@anthropic-ai/claude-code (npm)

Known vulnerabilities and malicious package reports for @anthropic-ai/claude-code on npm, live from OSV, with CISA KEV exploitation status and EPSS scores.

Known package reports

0 malicious package reports and 30 vulnerabilities returned by OSV. Check a specific version to see which reports apply.

GHSA-jh7p-qr78-84p7: Vulnerability

Claude Code Leaks Data via Malicious Environment Configuration Before Trust Confirmation

Published .

Updated .

Affected ranges: introduced 0, fixed 2.0.65.

Fix versions reported by the advisory: 2.0.65.

Severity: HIGH.

CVE-2026-21852

GHSA-4fgq-fpq9-mr3g: Vulnerability

Claude Code can execute commands prior to the startup trust dialog

Published .

Updated .

Affected ranges: introduced 0, fixed 1.0.111.

Fix versions reported by the advisory: 1.0.111.

Severity: HIGH.

CVE-2025-59536

GHSA-pmw4-pwvc-3hx2: Vulnerability

Claude Code Research Preview has a Path Restriction Bypass which could allow unauthorized file access

Published .

Updated .

Affected ranges: introduced 0, fixed 0.2.111.

Fix versions reported by the advisory: 0.2.111.

Severity: CRITICAL.

CVE-2025-54794

GHSA-x56v-x2h6-7j34: Vulnerability

Claude Code echo command allowed bypass of user approval prompt for command execution

Published .

Updated .

Affected ranges: introduced 0, fixed 1.0.20.

Fix versions reported by the advisory: 1.0.20.

Severity: CRITICAL.

CVE-2025-54795

GHSA-xq4m-mc3c-vvg3: Vulnerability

Claude Code Command Validation Bypass Allows Arbitrary Code Execution

Published .

Updated .

Affected ranges: introduced 0, fixed 1.0.93.

Fix versions reported by the advisory: 1.0.93.

Severity: CRITICAL.

CVE-2025-66032

GHSA-vp62-r36r-9xqp: Vulnerability

Claude Code: Sandbox Escape via Symlink Following Allows Arbitrary File Write Outside Workspace

Published .

Updated .

Affected ranges: introduced 0, fixed 2.1.64.

Fix versions reported by the advisory: 2.1.64.

Severity: CRITICAL.

CVE-2026-39861

GHSA-7835-87q9-rgvv: Vulnerability

Claude Code: Sandbox Escape via Git Worktree Path Confusion Allows Unsandboxed Code Execution

Published .

Updated .

Affected ranges: introduced 2.1.38, fixed 2.1.163.

Fix versions reported by the advisory: 2.1.163.

Severity: HIGH.

CVE-2026-55607

GHSA-qgqw-h4xq-7w8w: Vulnerability

Claude Code has a Command Injection in find Command Bypasses User Approval Prompt

Published .

Updated .

Affected ranges: introduced 0, fixed 2.0.72.

Fix versions reported by the advisory: 2.0.72.

Severity: HIGH.

CVE-2026-24887

GHSA-x5gv-jw7f-j6xj: Vulnerability

Claude Code's Permissive Default Allowlist Enables Unauthorized File Read and Network Exfiltration in Claude Code

Published .

Updated .

Affected ranges: introduced 0, fixed 1.0.4.

Fix versions reported by the advisory: 1.0.4.

Severity: HIGH.

CVE-2025-55284

GHSA-7mv8-j34q-vp7q: Vulnerability

@anthropic-ai/claude-code has Sed Command Validation Bypass that Allows Arbitrary File Writes

Published .

Updated .

Affected ranges: introduced 0, fixed 2.0.31.

Fix versions reported by the advisory: 2.0.31.

Severity: CRITICAL.

CVE-2025-64755

GHSA-qxfv-fcpc-w36x: Vulnerability

Claude Code rg vulnerability does not protect against approval prompt bypass

Published .

Updated .

Affected ranges: introduced 0, fixed 1.0.105.

Fix versions reported by the advisory: 1.0.105.

Severity: CRITICAL.

CVE-2025-58764

GHSA-5hhx-v7f6-x7gv: Vulnerability

Claude Code vulnerable to command execution prior to startup trust dialog

Published .

Updated .

Affected ranges: introduced 0, fixed 1.0.39.

Fix versions reported by the advisory: 1.0.39.

Severity: CRITICAL.

CVE-2025-65099

GHSA-j4h9-wv2m-wrf7: Vulnerability

Claude Code vulnerable to arbitrary code execution caused by maliciously configured git email

Published .

Updated .

Affected ranges: introduced 0, fixed 1.0.105.

Fix versions reported by the advisory: 1.0.105.

Severity: CRITICAL.

CVE-2025-59041

GHSA-ff64-7w26-62rf: Vulnerability

Claude Code has Sandbox Escape via Persistent Configuration Injection in settings.json

Published .

Updated .

Affected ranges: introduced 0, fixed 2.1.2.

Fix versions reported by the advisory: 2.1.2.

Severity: CRITICAL.

CVE-2026-25725

GHSA-fg94-h982-f3mm: Vulnerability

Claude Code: Out-of-Band Data Exfiltration via Pre-Approved HuggingFace Domain in WebFetch

Published .

Updated .

Affected ranges: introduced 0.2.54, fixed 2.1.163.

Fix versions reported by the advisory: 2.1.163.

Severity: CRITICAL.

CVE-2026-54316

GHSA-q728-gf8j-w49r: Vulnerability

Claude Code has a Path Restriction Bypass via ZSH Clobber which Allows Arbitrary File Writes

Published .

Updated .

Affected ranges: introduced 0, fixed 2.0.74.

Fix versions reported by the advisory: 2.0.74.

Severity: MEDIUM.

CVE-2026-24053

GHSA-66q4-vfjg-2qhh: Vulnerability

Claude Code Vulnerable to Command Injection via Directory Change Bypasses Write Protection

Published .

Updated .

Affected ranges: introduced 0, fixed 2.0.57.

Fix versions reported by the advisory: 2.0.57.

Severity: CRITICAL.

CVE-2026-25722

GHSA-4q92-rfm6-2cqx: Vulnerability

Claude Code has Permission Deny Bypass Through Symbolic Links

Published .

Updated .

Affected ranges: introduced 0, fixed 2.1.7.

Fix versions reported by the advisory: 2.1.7.

Severity: HIGH.

CVE-2026-25724

GHSA-66m2-gx93-v996: Vulnerability

Claude Code permission deny bypass through symlink

Published .

Updated .

Affected ranges: introduced 0, fixed 1.0.120.

Fix versions reported by the advisory: 1.0.120.

Severity: MEDIUM.

CVE-2025-59829

GHSA-vhw5-3g5m-8ggf: Vulnerability

Claude Code has a Domain Validation Bypass which Allows Automatic Requests to Attacker-Controlled Domains

Published .

Updated .

Affected ranges: introduced 0, fixed 1.0.111.

Fix versions reported by the advisory: 1.0.111.

Severity: HIGH.

CVE-2026-24052

GHSA-mmgp-wc2j-qcv7: Vulnerability

Claude Code has a Workspace Trust Dialog Bypass via Repo-Controlled Settings File

Published .

Updated .

Affected ranges: introduced 0, fixed 2.1.53.

Fix versions reported by the advisory: 2.1.53.

Severity: HIGH.

CVE-2026-33068

GHSA-mhg7-666j-cqg4: Vulnerability

Claude Code Vulnerable to Command Injection via Piped sed Command Bypasses File Write Restrictions

Published .

Updated .

Affected ranges: introduced 0, fixed 2.0.55.

Fix versions reported by the advisory: 2.0.55.

Severity: MEDIUM.

CVE-2026-25723

GHSA-2jjv-qf24-vfm4: Vulnerability

Claude Code Vulnerable to Arbitrary Code Execution via Plugin Autoloading with Specific Yarn Versions

Published .

Updated .

Affected ranges: introduced 0, fixed 1.0.39.

Fix versions reported by the advisory: 1.0.39.

Severity: CRITICAL.

CVE-2025-59828

GHSA-9f65-56v6-gxw7: Vulnerability

Claude Code Improper Authorization via websocket connections from arbitrary origins

Published .

Updated .

Affected ranges: introduced 0.2.116, fixed 1.0.24.

Fix versions reported by the advisory: 1.0.24.

Severity: HIGH.

CVE-2025-52882

GHSA-5xjx-9qx6-jcrv: Vulnerability

Claude Code: TOCTOU Race in Edit Tool Allows File Writes Outside the Workspace

Published .

Updated .

Affected ranges: introduced 0, fixed 2.1.251.

Fix versions reported by the advisory: 2.1.251.

Severity: HIGH.

CVE-2026-88968

More reports are available in the interactive package view.

Source: OSV, including OpenSSF malicious-package reports and GitHub advisories. No known report is not proof a package is safe.