Shescape before 2.1.15 and 3.0.2 Home Directory Disclosure via BusyBox
Published Aug 15, 2026
6.3
MEDIUMCVSS 4.0
EPSS 0.36%
Description
Shescape before 2.1.15 (and 3.0.0 before 3.0.2) fails to properly escape tilde (~) characters in assignment contexts on Unix systems where the shell is explicitly configured to "sh" or true and /bin/sh points to BusyBox. Using the escape and escapeAll APIs with untrusted input in an assignment prefixed to a command, an attacker can inject a tilde payload to disclose the user's home directory location and, depending on usage, alter the location on which a command operates.
Affected products
-
- Version 0StatusaffectedConstraints<2.1.15
- Version 3.0.0StatusaffectedConstraints<3.0.2
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ericcornelissen | Shescape | unaffected |
|
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (5)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-59804 Advisory
- https://github.com/ericcornelissen/shescape/commit/7cba30594c16a21524706efe2f6c6c9d8923f411 patch
- https://github.com/ericcornelissen/shescape/commit/d86bf2ae22961c73458bddf70dd06adf9dadb36c patch
- https://github.com/ericcornelissen/shescape/security/advisories/GHSA-j44h-fqhh-fh28 vendor-advisory
- https://www.vulncheck.com/advisories/shescape-before-home-directory-disclosure-via-busybox third-party-advisory
Change history (0)
No recorded changes yet.