RUSTSEC-2026-0503: eazip: symlink-target validation checks the wrong argument, allowing extraction path escapes on Windows
Published 2026-11-07 · Updated 2026-11-12
Summary
The eazip crate incorrectly validates symlink targets by checking the file name instead of the target path, allowing path traversal attacks on Windows. Developers using eazip on Windows platforms should update to the patched version immediately.
Who is affected
This vulnerability affects applications extracting untrusted archives using eazip versions 0.2.5 and 0.2.6 on Windows systems. Attackers can create malicious archives containing symlinks that escape the intended extraction directory, potentially leading to arbitrary file system writes via UNC paths or directory traversal.
Exploitability
The vulnerability is rated as High severity with a CVSS 3.1 score of 8.6, indicating it is remotely exploitable with low attack complexity and no user interaction required. It allows for a complete loss of integrity in the affected environment, though EPSS data and CISA KEV status are currently not documented.
Remediation
- Update the eazip dependency to version 0.2.7 or later.
- Verify the implementation by checking that the symlink validation logic now correctly inspects the target path instead of the entry name.
How to check your project
- Run 'cargo tree -p eazip' in your project directory to check if the installed version is between 0.2.5 and 0.2.6.
- Inspect Cargo.lock files to verify the current version of the eazip crate in use.
Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| crates.io | eazip |
>= 0.2.5, < 0.2.7 | 0.2.7 | cargo update -p eazip --precise 0.2.7 |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Changed |
| Confidentiality | None |
| Integrity | High |
| Availability | None |
FAQ
Are Linux or macOS systems affected by this flaw?
The vulnerability is primarily documented for Windows systems, as Unix systems do not treat backslashes as path separators, which limits the exploitability of this specific validation flaw.
What specifically causes the path traversal vulnerability?
The flaw is caused by a logic error in 'validate_symlink()' where the symlink name is validated instead of the target, allowing malicious targets containing backslashes or NUL bytes to bypass security checks.
Is this vulnerability currently being exploited in the wild?
There is no information suggesting active exploitation; the CISA Known Exploited Vulnerabilities catalog currently lists this as 'no'.
Original advisory description
References
- PACKAGE https://crates.io/crates/eazip
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0503.html
- WEB https://github.com/a1phyr/eazip/releases/tag/v0.2.7
Source records: RUSTSEC-2026-0503 (OSV.dev).