CVE-2026-45136

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

Published May 27, 2026 CVSS 4.0 · 8.6 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-g3xq-3gmv-qq8g claude-code-cache-fix vulnerable to local code execution via Python triple-quote injection in tools/quota-statusline.sh
History
Type Values Removed Values Added
CPEs cpe:2.3:a:cnighswonger:claude-code-cache-fix:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Cnighswonger
Cnighswonger claude-code-cache-fix
Vendors & Products Cnighswonger
Cnighswonger claude-code-cache-fix
Type Values Removed Values Added
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.
Title claude-code-cache-fix: Local code execution via Python triple-quote injection in tools/quota-statusline.sh
Weaknesses CWE-78
CWE-94
References
Metrics cvssV4_0

{'score': 8.6, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 2, 2026, 4:07 PM
Reserved
May 8, 2026, 8:08 PM
Status
Analyzed
Published
May 27, 2026, 9:16 PM
Modified
Jun 17, 2026, 10:51 AM