{"id":"CVE-2026-32094","published":"2026-03-11T19:50:10Z","modified":"2026-03-12T19:54:17Z","title":"Shescape escape() leaves bracket glob expansion active on Bash, BusyBox, and Dash","vendor":"ericcornelissen","product":"shescape","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00251,"percentile":0.16784,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/ericcornelissen/shescape/security/advisories/GHSA-9jfh-9xrq-4vwm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ericcornelissen/shescape/commit/6add105c6f6b508662bb5ae3b3bdd4c9bcebf37a","tags":["x_refsource_MISC"]}],"priority":{"score":8.2,"factors":[{"name":"EPSS percentile","points":3.36},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"ericcornelissen","affectedVersions":[{"vendor":"ericcornelissen","product":"shescape","versions":["< 2.1.10"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-12T19:54:11.107416Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"shescape","vulnerableRanges":["<2.1.10"],"patched":["2.1.10"],"from":["GHSA-9jfh-9xrq-4vwm"],"provenance":"source"}],"summary":{"text":"Shescape, a JavaScript shell-escape library by ericcornelissen, versions prior to 2.1.10, has a flaw in its escape() method, which fails to escape square-bracket glob syntax when targeting Bash, BusyBox sh, and Dash. An attacker who can supply a value such as secret[12] to an application that interpolates escape()'s output directly into a shell command can cause it to match multiple filesystem paths instead of remaining a single literal argument, with no authentication or user interaction required over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:30Z"},"euvd":{"id":"EUVD-2026-11333","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-35931","published":"2023-06-23","fixed":"1.7.1","kev":false},{"cve":"CVE-2023-40185","published":"2023-08-23","fixed":"1.7.4","kev":false},{"cve":"CVE-2025-30222","published":"2025-03-25","fixed":"2.1.2","kev":false,"link":{"from":"CVE-2025-30222","to":"CVE-2026-32094","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:shescape","fromFixed":"2.1.2","toFixed":"2.1.10","daysApart":351}]}},{"cve":"CVE-2026-32094","published":"2026-03-11","fixed":"2.1.10","kev":false},{"cve":"CVE-2026-73411","published":"2026-08-12","fixed":"3.0.1","kev":false},{"cve":"CVE-2026-73412","published":"2026-08-12","fixed":"3.0.1","kev":false},{"cve":"CVE-2026-73413","published":"2026-08-12","fixed":"3.0.1","kev":false}],"package":"npm:shescape"}}