CVE-2026-45136 json
claude-code-cache-fix: Local code execution via Python triple-quote injection in tools/quota-statusline.sh
published 5mo ago modified 4mo ago also GHSA-g3xq-3gmv-qq8g , EUVD-2026-32664
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
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.
Patch / fix
- npm claude-code-cache-fix 3.5.2
- cnighswonger claude-code-cache-fix 3.5.2
Is CVE-2026-45136 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 5mo ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/cnighswonger/claude-code-cache-fix/security/advisories/GHSA-g3xq-3gmv-qq8g referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/cnighswonger/claude-code-cache-fix/issues/108 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.6 | 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 |
| CNA | 4.0 | 8.6 | 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 |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | claude-code-cache-fix | >=3.5.0, <3.5.2 |
3.5.2 |
Affected products
- cnighswonger claude-code-cache-fix
Classification
References
-
github.com
/cnighswonger/claude-code-cache-fix/pull/110
web, issue-tracking, patch
-
github.com
/cnighswonger/claude-code-cache-fix/commit/613e4df30547f3e6baf32d161eddc828f171da17
web
-
github.com
/cnighswonger/claude-code-cache-fix/security/advisories/GHSA-g3xq-3gmv-qq8g
exploit, web, mitigation, vendor-advisory
-
github.com
/cnighswonger/claude-code-cache-fix/issues/108
exploit, web, issue-tracking
-
nvd.nist.gov
/vuln/detail/CVE-2026-45136
advisory
-
github.com
/cnighswonger/claude-code-cache-fix
package
Sources
- CVE List CVE-2026-45136
- GitHub Advisory GHSA-g3xq-3gmv-qq8g
- NVD CVE-2026-45136
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.