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 products
cnighswonger: claude-code-cache-fix
References5
- github.com/cnighswonger/claude-code-cache-fix/security/advisori… MitigationVendor Advisory
- github.com/cnighswonger/claude-code-cache-fix/security/advisori… MitigationVendor Advisory
- github.com/cnighswonger/claude-code-cache-fix/pull/110 Issue TrackingPatch
- github.com/cnighswonger/claude-code-cache-fix/issues/108 ExploitIssue Tracking
- github.com/cnighswonger/claude-code-cache-fix/issues/108 ExploitIssue Tracking
Metrics
- CVSS 3.1
-
7.8
HIGH
Score source: NVD
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 4.0
-
8.6
HIGH
Score source: CNA
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 8 · as of 15 November 2026
- CWE
- CWE-78CWE-94
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.