Skip to main content
← All vulnerabilities
CVE-2026-32094GHSA-9JFH-9XRQ-4VWM

Shescape escape() leaves bracket glob expansion active on Bash, BusyBox, and Dash

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.1.10
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

Shescape is a simple shell escape library for JavaScript. Prior to 2.1.10, Shescape#escape() does not escape square-bracket glob syntax for Bash, BusyBox sh, and Dash. Applications that interpolate the return value directly into a shell command string can cause an attacker-controlled value like secret[12] to expand into multiple filesystem matches instead of a single literal argument, turning one argument into multiple trusted-pathname matches. This vulnerability is fixed in 2.1.10.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • ericcornelissen shescape

    fixed in 2.1.10

  • shescapenpm

    fixed in 2.1.10

References 2

GitHub · ericcornelissen/shescape