Skip to main content
← All vulnerabilities
CVE-2026-45136GHSA-G3XQ-3GMV-QQ8G

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.5.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • cnighswonger claude-code-cache-fix

    From 3.5.0 · fixed in 3.5.2

  • claude-code-cache-fixnpm

    From 3.5.0 · fixed in 3.5.2

References 3

GitHub · cnighswonger/claude-code-cache-fix