Skip to main content
VulnerabilityPublished

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

Affects @anthropic-ai/claude-codeSource GCVE Database

0
Compare
Authoritative record:CVE-2025-64755· High 8.7

Not known to be exploited · CVSS 8.7 High : upgrade to 2.0.31 soon.

Data as of 13 Nov 2026, 18:48 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.0.31
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade @anthropic-ai/claude-code to 2.0.31.

Affected software

ProductAffectedFixed in
npm@anthropic-ai/claude-codeAffected
  • <2.0.31
Fixed in
  • 2.0.31

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in version 2.0.31 of @anthropic-ai/claude-code. Users employing the standard auto-update mechanism have already received this fix. Users who update manually should upgrade to version 2.0.31 or later to remediate this vulnerability.

Description

@anthropic-ai/claude-code versions prior to 2.0.31 contain a vulnerability in sed command parsing that allows bypassing read-only validation, enabling arbitrary file writes on the host system. This flaw is fixed in version 2.0.31. Users who rely on the standard auto-update mechanism have already received the fix, while manual updaters should upgrade to the latest version.

References

Community reviews

Loading reviews…