GHSA-xq4m-mc3c-vvg3

Suggest an improvement
Source
https://github.com/advisories/GHSA-xq4m-mc3c-vvg3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-xq4m-mc3c-vvg3/GHSA-xq4m-mc3c-vvg3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xq4m-mc3c-vvg3
Aliases
  • CVE-2025-66032
Published
2025-12-03T16:27:19Z
Modified
2025-12-05T12:27:53.035426Z
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
Claude Code Command Validation Bypass Allows Arbitrary Code Execution
Details

Due to errors in parsing shell commands related to $IFS and short CLI flags, it was possible to bypass the Claude Code read-only validation and trigger arbitrary code execution. Reliably exploiting this requires the ability to add untrusted content into a Claude Code context window.

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

Thank you to RyotaK from GMO Flatt Security Inc. for reporting this issue!

Database specific
{
    "github_reviewed_at": "2025-12-03T16:27:19Z",
    "severity": "HIGH",
    "cwe_ids": [
        "CWE-20",
        "CWE-77"
    ],
    "github_reviewed": true,
    "nvd_published_at": "2025-12-03T19:15:57Z"
}
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
1.0.93

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-xq4m-mc3c-vvg3/GHSA-xq4m-mc3c-vvg3.json"