Skip to content
OpenAdvisories
High · 8.6 CVE-2026-45136 EUVD-2026-32664GHSA-g3xq-3gmv-qq8g

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

Published May 27, 2026 · Updated Jun 2, 2026 · Assigned by GitHub_M

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 products

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

Affected packages

EcosystemPackageAffectedFixedRecord
npm claude-code-cache-fix >= 3.5.0, < 3.5.2 3.5.2 GHSA-g3xq-3gmv-qq8g

References