{"id":"CVE-2026-45136","summary":"claude-code-cache-fix: Local code execution via Python triple-quote injection in tools/quota-statusline.sh","details":"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.","aliases":["GHSA-g3xq-3gmv-qq8g"],"modified":"2026-08-12T03:51:08.018852748Z","published":"2026-05-27T20:48:22.312Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-78","CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45136.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45136.json"},{"type":"ADVISORY","url":"https://github.com/cnighswonger/claude-code-cache-fix/security/advisories/GHSA-g3xq-3gmv-qq8g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45136"},{"type":"REPORT","url":"https://github.com/cnighswonger/claude-code-cache-fix/issues/108"},{"type":"FIX","url":"https://github.com/cnighswonger/claude-code-cache-fix/pull/110"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cnighswonger/claude-code-cache-fix","events":[{"introduced":"379da7ecbf9a89965cacc2e3fd163c48bc51ebaa"},{"fixed":"613e4df30547f3e6baf32d161eddc828f171da17"}],"database_specific":{"extracted_events":[{"introduced":"3.5.0"},{"fixed":"3.5.2"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:cnighswonger:claude-code-cache-fix:*:*:*:*:*:*:*:*"}}],"versions":["v3.5.1","v3.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45136.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}