Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. claude-code-cache-fix
  4. ›
  5. CVE-2026-45136

CVE-2026-45136: claude-code-cache-fix vulnerable to local code execution via Python triple-quote injection in tools/quota-statusline.sh

May 13, 2026 (updated June 8, 2026)

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.

References

  • github.com/advisories/GHSA-g3xq-3gmv-qq8g
  • github.com/cnighswonger/claude-code-cache-fix/commit/613e4df30547f3e6baf32d161eddc828f171da17
  • github.com/cnighswonger/claude-code-cache-fix/issues/108
  • github.com/cnighswonger/claude-code-cache-fix/pull/110
  • github.com/cnighswonger/claude-code-cache-fix/security/advisories/GHSA-g3xq-3gmv-qq8g
  • nvd.nist.gov/vuln/detail/CVE-2026-45136

Code Behaviors & Features

Detect and mitigate CVE-2026-45136 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.5.0 before 3.5.2

Fixed versions

  • 3.5.2

Solution

Upgrade to version 3.5.2 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/claude-code-cache-fix/CVE-2026-45136.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:51 +0000.