CVE-2025-64755
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-11-21

Last updated on: 2025-12-04

Assigner: GitHub, Inc.

Description
Claude Code is an agentic coding tool. Prior to version 2.0.31, 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. This issue has been patched in version 2.0.31.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-11-21
Last Modified
2025-12-04
Generated
2026-05-07
AI Q&A
2025-11-21
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
anthropic claude_code to 2.0.31 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability in Claude Code, prior to version 2.0.31, is due to an error in sed command parsing that allowed attackers to bypass the read-only validation mechanism. As a result, it was possible to write to arbitrary files on the host system, which should have been protected from modification.


How can this vulnerability impact me? :

The vulnerability can allow an attacker to modify arbitrary files on the host system without proper authorization. This can lead to unauthorized changes, potential system compromise, data corruption, or the introduction of malicious code, thereby impacting system integrity and security.


What immediate steps should I take to mitigate this vulnerability?

Upgrade Claude Code to version 2.0.31 or later, as this version contains the patch that fixes the sed command parsing error allowing arbitrary file writes.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart