Vulnerability · Published May 27, 2026 · Assigned by GitHub_M

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

High 8.6

In plain English

A high-severity OS command injection in claude-code-cache-fix from cnighswonger. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.6High
Exploit odds (30 days)0.2%top 91.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmclaude-code-cache-fix3.5.2GHSA-g3xq-3gmv-qq8g

Affected products (as reported)

VendorProductVersions
cnighswonger claude-code-cache-fix >= 3.5.0, < 3.5.2

Weakness: CWE-78, CWE-94 · 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

References