What’s Vulnerable › Vulnerabilities
CVE-2026-32094: Shescape escape() leaves bracket glob expansion active on Bash, BusyBox, and Dash
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-11 · updated 2026-06-17
- Weakness: CWE-200
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 products
- ericcornelissen shescape: before 2.1.10 — fixed in 2.1.10
How to fix
Upgrade to a fixed version: ericcornelissen shescape 2.1.10. Check the vendor advisory for mitigations.
References
- https://github.com/ericcornelissen/shescape/commit/6add105c6f6b508662bb5ae3b3bdd4c9bcebf37a
- https://github.com/ericcornelissen/shescape/security/advisories/GHSA-9jfh-9xrq-4vwm
Get alerted when CVE-2026-32094 or the next vulnerability affects your stack