claude-code-cache-fix: Local code execution via Python triple-quote injection in tools/quota-statusline.sh
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| cnighswonger | claude-code-cache-fix | 3.5.0 to before 3.5.2 | 3.5.2 | Patch available | CNA |
| — | claude-code-cache-fix (npm) | 3.5.0 to before 3.5.2 | 3.5.2 | Patch available | GHSA-g3xq-3gmv-qq8g |
- claude-code-cache-fix Vendorcnighswonger Affected 3.5.0 to before 3.5.2 Fixed in 3.5.2 Patch available CNA
- claude-code-cache-fix (npm) Vendor— Affected 3.5.0 to before 3.5.2 Fixed in 3.5.2 Patch available GHSA-g3xq-3gmv-qq8g
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:cnighswonger:claude-code-cache-fix:*:*:*:*:*:*:*:* | 3.5.0 to before 3.5.2 | Vulnerable | cnighswonger |
- cpe:2.3:a:cnighswonger:claude-code-cache-fix:*:*:*:*:*:*:*:* Versions 3.5.0 to before 3.5.2 Vulnerable ·cnighswonger
Remediation
- Fix · CNA claude-code-cache-fix (cnighswonger) Fixed in 3.5.2
- Fix · GHSA-g3xq-3gmv-qq8g claude-code-cache-fix (npm) Fixed in 3.5.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-45136
- 2026-10-03 Alias added: GHSA-g3xq-3gmv-qq8g
References
Advisory 2
Sources
- CVE-2026-45136 · CVE Program
- CVE-2026-45136 · NVD
- FIRST EPSS
- GHSA-g3xq-3gmv-qq8g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences