CVE-2026-73411: Shescape: Home-directory disclosure in assignment context on Unix with Dash

Published Aug 12, 2026
·
Updated

Shescape is a simple shell escape library for JavaScript. Prior to 2.1.14 and 3.0.1, getEscapeFunction in src/internal/unix/dash.js fails to escape ~ after : or = when applications use the escape or escapeAll APIs on Unix with shell set to dash, or with shell set to true when Dash is the default, and interpolate the result into an assignment prefixed to a command. An attacker who controls the input can supply a value such as :~ to disclose the home-directory path and may change the location on which the command operates. This issue is fixed in versions 2.1.14 and 3.0.1.

Affected Software

4 affected components
Shescape Shescape>0<=2.1.13
Shescape Shescape>2.1.14<=2.1.13
Shescape Shescape<=2.1.13
Shescape Shescape<=3.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Shescape to a version that resolves this vulnerability.

    Fixed in 2.1.14
  2. Upgrade

    Upgrade Shescape to a version that resolves this vulnerability.

    Fixed in 3.0.1

Event History

Aug 12, 2026
CVE Published
via MITRE·07:33 PM
Data Sourced
via MITRE·07:33 PM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-73411?

CVE-2026-73411 has a risk rating of 26, indicating a significant potential impact.

2

How do I fix CVE-2026-73411?

To mitigate CVE-2026-73411, update Shescape to versions 2.1.14 or 3.0.1 or later.

3

What type of vulnerability is CVE-2026-73411?

CVE-2026-73411 is classified as an information leak vulnerability.

4

Which software is affected by CVE-2026-73411?

CVE-2026-73411 affects the Shescape library, specifically versions prior to 2.1.14 and 3.0.1.

5

On which platforms does CVE-2026-73411 exist?

CVE-2026-73411 exists on Unix systems when using the Dash shell.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203