{"id":"CVE-2026-45136","published":"2026-05-27T20:48:22Z","modified":"2026-06-02T16:07:20Z","title":"claude-code-cache-fix: Local code execution via Python triple-quote injection in tools/quota-statusline.sh","vendor":"cnighswonger","product":"claude-code-cache-fix","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00188,"percentile":0.08585,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/cnighswonger/claude-code-cache-fix/security/advisories/GHSA-g3xq-3gmv-qq8g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/cnighswonger/claude-code-cache-fix/issues/108","tags":["x_refsource_MISC"]},{"url":"https://github.com/cnighswonger/claude-code-cache-fix/pull/110","tags":["x_refsource_MISC"]}],"priority":{"score":7.7,"factors":[{"name":"EPSS percentile","points":1.72},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"cnighswonger","affectedVersions":[{"vendor":"cnighswonger","product":"claude-code-cache-fix","versions":[">= 3.5.0, < 3.5.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-02T16:04:17.415452Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"claude-code-cache-fix","vulnerableRanges":[">=3.5.0, <3.5.2"],"patched":["3.5.2"],"from":["GHSA-g3xq-3gmv-qq8g"],"provenance":"source"}],"summary":{"text":"The claude-code-cache-fix product by cnighswonger, in versions from 3.5.0 before 3.5.2, has a flaw in its tools/quota-statusline.sh script, which inserts Claude Code's hook stdin payload directly into a Python triple-quoted string literal. An attacker who can get a ''' byte sequence into any user-controlled field of that payload can close the literal early and have the following bytes run as Python inside the user's Claude Code process, with no privileges or user interaction required beyond local access to trigger the payload.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:29Z"},"euvd":{"id":"EUVD-2026-32664","exploited":false,"provenance":"source"}}