Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 91%

CVE-2026-45136: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in cnighswonger claude-code-cache-fix

0
High
VulnerabilityCVE-2026-45136cvecve-2026-45136cwe-78cwe-94
Published: 05/27/2026 (05/27/2026, 20:48:22 UTC)
Source: CVE Database V5
Vendor/Project: cnighswonger
Product: claude-code-cache-fix

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.

CVSS v4.0

Score 8.6high

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
cnighswonger/claude-code-cache-fix
pkg:github/cnighswonger/claude-code-cache-fix
Affected versions
<3.5.2 >=3.5.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/04/2026, 20:23:52 UTC

Technical Analysis

The vulnerability in claude-code-cache-fix (versions >=3.5.0 and <3.5.2) involves improper neutralization of special elements (CWE-78) and unsafe code injection (CWE-94) in the tools/quota-statusline.sh script. User input is directly embedded into a Python triple-quoted string without sanitization, enabling an attacker to inject a ''' sequence that closes the string early and allows execution of arbitrary Python code in the user's Claude Code process. This can lead to high-impact code execution with low attack complexity and no required privileges or user interaction. The vulnerability is resolved in version 3.5.2.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary Python code within the context of the user's Claude Code process, potentially leading to unauthorized actions or compromise of the affected system. The CVSS 4.0 score is 8.6 (high), reflecting high impact on confidentiality, integrity, and availability with low attack complexity and no required privileges or user interaction.

Mitigation Recommendations

This vulnerability is fixed in claude-code-cache-fix version 3.5.2. Users should upgrade to version 3.5.2 or later to remediate this issue. No official patch or temporary fix is documented beyond upgrading. Since the product is not a cloud service, remediation is the responsibility of the user. Patch status is not explicitly confirmed beyond the stated fix in 3.5.2; users should verify with the vendor for the latest advisory and updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-08T20:08:17.210Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a175c27e29bf47b50eb6095

Added to database: 05/27/2026, 21:03:35 UTC

Last enriched: 06/04/2026, 20:23:52 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 82

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses