Read the docs
TI-2026-32969 Aliases CVE-2026-45136GHSA-g3xq-3gmv-qq8g

claude-code-cache-fix: Local code execution via Python triple-quote injection in tools/quota-statusline.sh

Priority HIGH 70CWE-78Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00188 8th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed claude-code-cache-fix (cnighswonger): 3.5.2claude-code-cache-fix (npm): 3.5.2

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

VendorProductAffected versionsFixed inStatusSource
cnighswongerclaude-code-cache-fix3.5.0 to before 3.5.23.5.2Patch availableCNA
—claude-code-cache-fix (npm)3.5.0 to before 3.5.23.5.2Patch availableGHSA-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

CPEVersionsRoleVendor
cpe:2.3:a:cnighswonger:claude-code-cache-fix:*:*:*:*:*:*:*:*3.5.0 to before 3.5.2Vulnerablecnighswonger
  • 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

  1. 2026-10-02 Threatist record created from CVE-2026-45136
  2. 2026-10-03 Alias added: GHSA-g3xq-3gmv-qq8g

References

Sources