Vulnerability · Published May 27, 2026 · Assigned by GitHub_M
CVE-2026-45136claude-code-cache-fix: Local code execution via Python triple-quote injection in tools/quota-statusline.sh
High 8.6
In plain English
A high-severity OS command injection in claude-code-cache-fix from cnighswonger. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
claude-code-cache-fix is a cache optimization proxy for Claude Code. From 3.5.0 to before 3.5.2, tools/quota-statusline.sh (introduced in v3.5.0) interpolates Claude Code's hook stdin payload directly into a Python triple-quoted string literal. A ''' byte sequence in any user-controlled field of the payload closes the literal early and lets following bytes execute as Python in the user's Claude Code process. This vulnerability is fixed in 3.5.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | claude-code-cache-fix | 3.5.2 | GHSA-g3xq-3gmv-qq8g |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| cnighswonger | claude-code-cache-fix | >= 3.5.0, < 3.5.2 |
Weakness: CWE-78, CWE-94 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N