CVE-2026-45136

Source
https://cve.org/CVERecord?id=CVE-2026-45136
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45136.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-45136
Aliases
Published
2026-05-27T20:48:22Z
Modified
2026-08-12T03:51:08Z
Severity
  • 8.6 (High) CVSS_V4 - 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 CVSS Calculator
Summary
claude-code-cache-fix: Local code execution via Python triple-quote injection in tools/quota-statusline.sh
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-78",
        "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45136.json"
}
References

Affected packages

Git / github.com/cnighswonger/claude-code-cache-fix

Affected ranges

Type
GIT
Repo
https://github.com/cnighswonger/claude-code-cache-fix
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:cnighswonger:claude-code-cache-fix:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "3.5.0"
        },
        {
            "fixed": "3.5.2"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Affected versions

v3.*
v3.5.0
v3.5.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45136.json"