Cnighswonger claude-code-cache-fix
claude-code-cache-fix: Local code execution via Python triple-quote injection in tools/quota-statusline.sh
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.6high · scored by CNA · CWE-78
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
cnighswonger claude-code-cache-fix
- >= 3.5.0, < 3.5.2
Fixed in 3.5.2
Mitigation
Upgrade claude-code-cache-fix to 3.5.2 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.