GHSA-7mv8-j34q-vp7q

Suggest an improvement
Source
https://github.com/advisories/GHSA-7mv8-j34q-vp7q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-7mv8-j34q-vp7q/GHSA-7mv8-j34q-vp7q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7mv8-j34q-vp7q
Aliases
  • CVE-2025-64755
Published
2025-11-20T21:28:08Z
Modified
2025-11-21T15:32:13Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
@anthropic-ai/claude-code has Sed Command Validation Bypass that Allows Arbitrary File Writes
Details

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.

Users on standard Claude Code auto-update will have received this fix automatically. Users performing manual updates are advised to update to the latest version.

Thank you to Adam Chester - SpecterOps for reporting this issue!

Database specific
{
    "cwe_ids": [
        "CWE-78"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-11-20T21:28:08Z",
    "nvd_published_at": "2025-11-21T02:15:43Z",
    "severity": "HIGH"
}
References

Affected packages

npm / @anthropic-ai/claude-code

Package

Name
@anthropic-ai/claude-code
View open source insights on deps.dev
Purl
pkg:npm/%40anthropic-ai/claude-code

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.31

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-7mv8-j34q-vp7q/GHSA-7mv8-j34q-vp7q.json"