p PatchFirst

CVE-2026-32094

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.9 · Medium · EPSS 0.2% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • shescape

    Versions
    • < 2.1.10: Affected

    No fix published

  • shescape npm

    Affected ranges
    • SEMVER: < 2.1.10

    Update to 2.1.10

Original sources

Check your server →