Skip to main content
← All vulnerabilities
CVE-2025-64755GHSA-7MV8-J34Q-VP7Q

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.31
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • anthropics claude-code

    fixed in 2.0.31

  • @anthropic-ai/claude-codenpm

    fixed in 2.0.31

References 1

GitHub · anthropics/claude-code