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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-9jfh-9xrq-4vwm Shescape escape() leaves bracket glob expansion active on Bash, BusyBox, and Dash
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 16 Mar 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Shescape Project
Shescape Project shescape
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:shescape_project:shescape:*:*:*:*:*:node.js:*:*
Vendors & Products Shescape Project
Shescape Project shescape
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}


Thu, 12 Mar 2026 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 12 Mar 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Ericcornelissen
Ericcornelissen shescape
Vendors & Products Ericcornelissen
Ericcornelissen shescape

Wed, 11 Mar 2026 20:15:00 +0000

Type Values Removed Values Added
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.
Title Shescape escape() leaves bracket glob expansion active on Bash, BusyBox, and Dash
Weaknesses CWE-200
References
Metrics cvssV4_0

{'score': 6.9, '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-12T19:54:17.725Z

Reserved: 2026-03-10T22:02:38.853Z

Link: CVE-2026-32094

cve-icon Vulnrichment

Updated: 2026-03-12T19:54:14.665Z

cve-icon NVD

Status : Analyzed

Published: 2026-03-11T20:16:17.760

Modified: 2026-03-16T17:37:31.180

Link: CVE-2026-32094

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-03-12T09:56:24Z

Weaknesses