high7.8
CVE-2026-45136
claude-code-cache-fix vulnerable to local code execution via Python triple-quote injection in tools/quota-statusline.sh
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | claude-code-cache-fix | >= 3.5.0, < 3.5.2 | 3.5.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Cnighswonger | Claude-Code-Cache-Fix | from 3.5.0 before 3.5.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/cnighswonger/claude-code-cache-fix/issues/108
- https://github.com/cnighswonger/claude-code-cache-fix/pull/110
- https://github.com/cnighswonger/claude-code-cache-fix/security/advisories/GHSA-g3xq-3gmv-qq8g
- https://github.com/advisories/GHSA-g3xq-3gmv-qq8g
- https://github.com/cnighswonger/claude-code-cache-fix/commit/613e4df30547f3e6baf32d161eddc828f171da17
- https://nvd.nist.gov/vuln/detail/CVE-2026-45136