{"answers":{"affected":"2 open source packages ship an affected version, including claude-code-cache-fix. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45136 exists.","fix":"Upgrade claude-code-cache-fix to 3.5.2 or later.","what":"CVE-2026-45136 is a high-severity code injection vulnerability in cnighswonger claude-code-cache-fix, published on 27 May 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-45136 and fix it if it is affected.\n\nWhat it is: CVE-2026-45136 is a high-severity code injection vulnerability in cnighswonger claude-code-cache-fix, published on 27 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45136 exists.\n\nAffected packages and fixed versions:\n- claude-code-cache-fix (npm): affected from 3.5.0; fixed in 3.5.2\n- claude-code-cache-fix (npm): affected from 3.5.0; fixed in 3.5.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-45136/ (Markdown: https://insights.sbomify.com/CVE-2026-45136/index.md)","id":"CVE-2026-45136","markdown":"https://insights.sbomify.com/CVE-2026-45136/index.md","name":"CVE-2026-45136","record":{"aliases":["GHSA-g3xq-3gmv-qq8g"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Claude Code proxy","requires_auth":"none","summary":"Attackers can execute arbitrary Python code in the user's Claude Code process by injecting triple-quote sequences into hook payloads.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"claude-code-cache-fix","vendor":"cnighswonger"}],"cvss":{"score":8.6,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"claude-code-cache-fix: Local code execution via Python triple-quote injection in tools/quota-statusline.sh","id":"CVE-2026-45136","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Anchor: Program\u003c'info, System\u003e is not properly validated","id":"CVE-2026-45137"},"packages":[{"ecosystem":"npm","fixed":["3.5.2"],"introduced":["3.5.0"],"last_affected":[],"package":"claude-code-cache-fix","purl":null,"source":"GHSA-g3xq-3gmv-qq8g"},{"ecosystem":"npm","fixed":["3.5.2"],"introduced":["3.5.0"],"last_affected":[],"package":"claude-code-cache-fix","purl":"pkg:npm/claude-code-cache-fix","source":"GHSA-g3xq-3gmv-qq8g"}],"prev":{"headline":"Caddy: Unsafe Unicode Handling in FastCGI splitPos Allows Execution of Non-PHP Files","id":"CVE-2026-45135"},"products":["claude-code-cache-fix"],"published":"2026-05-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-02","vendors":["cnighswonger"]},"summary":"Attackers can execute arbitrary Python code in the user's Claude Code process by injecting triple-quote sequences into hook payloads.","url":"https://insights.sbomify.com/CVE-2026-45136/"}