Shescape escape() leaves bracket glob expansion active on Bash, BusyBox, and Dash
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ericcornelissen | shescape | before 2.1.10 | 2.1.10 | Patch available | CNA |
| — | shescape (npm) | before 2.1.10 | 2.1.10 | Patch available | GHSA-9jfh-9xrq-4vwm |
- shescape Vendorericcornelissen Affected before 2.1.10 Fixed in 2.1.10 Patch available CNA
- shescape (npm) Vendor— Affected before 2.1.10 Fixed in 2.1.10 Patch available GHSA-9jfh-9xrq-4vwm
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:shescape_project:shescape:*:*:*:*:*:node.js:*:* | before 2.1.10 | Vulnerable | ericcornelissen |
- cpe:2.3:a:shescape_project:shescape:*:*:*:*:*:node.js:*:* Versions before 2.1.10 Vulnerable ·ericcornelissen
Remediation
- Fix · CNA shescape (ericcornelissen) Fixed in 2.1.10
- Fix · GHSA-9jfh-9xrq-4vwm shescape (npm) Fixed in 2.1.10 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-32094
- 2026-10-03 Alias added: GHSA-9jfh-9xrq-4vwm
References
More ericcornelissen Shescape vulnerabilities
- TI-2022-13220 Insufficient escaping of whitespace in shescape CVSS 3.1CRITICAL 9.8
- TI-2022-13219 Insufficient escaping of line feeds for CMD in shescape CVSS 3.1CRITICAL 9.8
- TI-2022-09469 Regular expression denial of service (ReDoS) in shescape CVSS 3.1HIGH 7.5
- TI-2022-16487 Shescape Inefficient Regular Expression Complexity vulnerability CVSS 3.1HIGH 7.5
- TI-2022-08540 Exposure of home directory through shescape on Unix with Bash CVSS 3.1MEDIUM 6.2
- TI-2023-21058 Shescape on Windows escaping may be bypassed in threaded context CVSS 3.1HIGH 8.6
Sources
- CVE-2026-32094 · CVE Program
- CVE-2026-32094 · NVD
- FIRST EPSS
- GHSA-9jfh-9xrq-4vwm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences