Filesystem path disclosure via unescaped Zsh metacharacters
Published Aug 12, 2026 · Updated Aug 12, 2026
OS command injection in Shescape before 2.1.14 and Shescape 3.0.0 allows remote attackers to disclose filesystem paths through Zsh. The Zsh escape function fails to neutralize tilde, caret, and hash metacharacters, so escape and escapeAll outputs still trigger home expansion and extended-glob matching. Exposure requires a Unix host using Zsh explicitly, or as the default shell with shell set to true; MAGIC_EQUAL_SUBST or EXTENDED_GLOB broadens path and directory disclosure.
Summary
What happened
OS command injection in Shescape before 2.1.14 and Shescape 3.0.0 allows remote attackers to disclose filesystem paths through Zsh. The Zsh escape function fails to neutralize tilde, caret, and hash metacharacters, so escape and escapeAll outputs still trigger home expansion and extended-glob matching. Exposure requires a Unix host using Zsh explicitly, or as the default shell with shell set to true; MAGIC_EQUAL_SUBST or EXTENDED_GLOB broadens path and directory disclosure.
The record
- CVE
- CVE-2026-73412
- Published
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Vendor
- Eric Cornelissen
- Product
- Shescape
- Classifications
- CWE-78, CWE-155, T1083
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 12, 2026CVE publishedPublication date reported by the CVE source.
- Aug 12, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 2.1.14
- Affected versionversion=>= 3.0.0, < 3.0.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Upstream Zsh path-disclosure examplesproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo