Vulnerability · Published Mar 11, 2026 · Assigned by GitHub_M
CVE-2026-32094Shescape escape() leaves bracket glob expansion active on Bash, BusyBox, and Dash
Medium 6.9
In plain English
A medium-severity information exposure in shescape from ericcornelissen. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | shescape | 2.1.10 | GHSA-9jfh-9xrq-4vwm |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ericcornelissen | shescape | < 2.1.10 |
Weakness: CWE-200 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N