Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. shescape
  4. ›
  5. CVE-2026-32094

CVE-2026-32094: Shescape escape() leaves bracket glob expansion active on Bash, BusyBox, and Dash

March 11, 2026

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.

References

  • github.com/advisories/GHSA-9jfh-9xrq-4vwm
  • github.com/ericcornelissen/shescape
  • github.com/ericcornelissen/shescape/commit/6add105c6f6b508662bb5ae3b3bdd4c9bcebf37a
  • github.com/ericcornelissen/shescape/pull/2410
  • github.com/ericcornelissen/shescape/releases/tag/v2.1.10
  • github.com/ericcornelissen/shescape/security/advisories/GHSA-9jfh-9xrq-4vwm
  • nvd.nist.gov/vuln/detail/CVE-2026-32094

Code Behaviors & Features

Detect and mitigate CVE-2026-32094 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.1.10

Fixed versions

  • 2.1.10

Solution

Upgrade to version 2.1.10 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

npm/shescape/CVE-2026-32094.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 25 Mar 2026 12:17:55 +0000.