Skip to content
HighVulnerabilityLLM-specific

CVE-2026-45136: claude-code-cache-fix code injection through quota-statusline.sh hook payload

Identifier
CVE-2026-45136
Published
Record updated
View JSON
Affected
  • claude-code-cache-fix >= 3.5.0, < 3.5.2
Fixed in
3.5.2
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

claude-code-cache-fix, a cache optimization proxy for Claude Code, is affected from 3.5.0 to before 3.5.2. In tools/quota-statusline.sh, introduced in v3.5.0, Claude Code's hook stdin payload is interpolated directly into a Python triple-quoted string literal. A ''' sequence in any user-controlled payload field closes the literal early, so following bytes execute as Python in the user's Claude Code process.

Mitigation

Fixed in 3.5.2.