CVE-2026-45136CWE-78CWE-94

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

High · published May 27, 2026

CVSS v4.0
8.6
EPSS
0%
Percentile
11.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.6 · HIGH
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
EPSS
0.00214 · 11.2th percentile
Weaknesses
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'); CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-05-27T20:48Z
EPSS history
Timeline
  • 27 MAY 20:48Z
    claude-code-cache-fix: Local code execution via Python triple-quote injection in tools/quota-statusline.sh
    cvelistv5