CVSS Score: 6.9 Published: 2026-03-11 Full Report: https://cvereports.com/reports/CVE-2026-32094
The shescape library prior to version 2.1.10 fails to properly escape square brackets when targeting Unix-like shells. This omission allows attackers to leverage shell pathname expansion (globbing) to perform argument injection attacks, potentially exposing sensitive local files.
shescape < 2.1.10 is vulnerable to argument injection due to unescaped square brackets, allowing attackers to exploit shell globbing for unauthorized file access.
- CWE: CWE-200
- Attack Vector: Network
- CVSS v4.0: 6.9
- Exploit Status: Proof of Concept
- CISA KEV: False
- Impact: Information Exposure
- shescape < 2.1.10
- shescape: < 2.1.10 (Fixed in:
2.1.10)
- Upgrade shescape to version 2.1.10
- Enclose all interpolated shell variables in single quotes
- Implement strict input validation to reject shell metacharacters
Remediation Steps:
- Identify all projects utilizing shescape via
npm ls shescapeoryarn why shescape. - Update package.json to require
shescapeversion^2.1.10. - Run
npm installoryarn installto update the dependency tree. - Review all instances of
shescape.escape()usage to ensure the resulting variables are properly quoted in the final command string.
- GitHub Advisory: GHSA-9jfh-9xrq-4vwm
- Fix Commit: 6add105c6f6b508662bb5ae3b3bdd4c9bcebf37a
- MITRE CWE-200
Generated by CVEReports - Automated Vulnerability Intelligence