CVE-2026-45136

HIGH

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

Title source: cna
STIX 2.1

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.

References (3)

Core 3

Scores

CVSS v3 7.8
EPSS 0.0016
EPSS Percentile 6.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-78 CWE-94
Status published
Products (3)
cnighswonger/claude-code-cache-fix 3.5.0 - 3.5.2
cnighswonger/claude-code-cache-fix >= 3.5.0, < 3.5.2
npm/claude-code-cache-fix 3.5.0 - 3.5.2npm
Published May 27, 2026
Tracked Since May 28, 2026