eazip: symlink-target validation checks the wrong argument, allowing extraction path escapes on Windows
Severity and exploitation
KEV coverage does not rule out exploitation.
Assessment vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:NSeverity
high8.6CVSS measures technical severity, not the likelihood of an attack.
Known exploitation
KEV status unavailable or stale
Absence from CISA KEV does not rule out attacks.
Public exploit
Not established by this record
Missing evidence does not mean no public exploit exists.
Remediation
Package fixes recorded
Fix versions are recorded for 1 of 1 mapped packages. Check each release branch and any separate product guidance.
What this means
When extracting archives, eazip validates symlink entries before writing them. The validation function validate_symlink() (src/utils/mod.rs) scans for backslash and NUL bytes, but passes the symlink's name where the symlink's target was intended:
Source excerpt · OSVAttack conditions
No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.
Review supporting sources →Affected versions
Check the exact model, release, and any platform requirements against your installation.
Packages
Compare each installed version with the publisher’s affected ranges. Where a fix is recorded, choose the appropriate release branch and test compatibility before upgrading.
| Affected range | Recorded fix |
|---|---|
| From 0.2.5 before 0.2.7Semantic versions | 0.2.7 |
Version evidence: OSV · RUSTSEC-2026-0503
View original version evidence (0 explicit versions)
What to do
Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.
Use the recorded fix for your release branch. Review the publisher’s instructions and test compatibility before upgrading.
cve.new guidance unless attributed to a publisher. This page does not inspect your installation.
Public exploit evidence
No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.
Original source description
Read the full publisher description
When extracting archives, eazip validates symlink entries before writing
them. The validation function validate_symlink() (src/utils/mod.rs) scans
for backslash and NUL bytes, but passes the symlink's name where the
symlink's target was intended:
memchr2(b'\\', b'\0', name.as_bytes()) // should be target.as_bytes()
As a result, symlink targets containing backslash or NUL bytes pass
validation. On Windows, backslash is a path separator, so targets such as
..\..\..\Windows\system32\evil.exe also defeat the remaining depth check,
which splits on / only. A crafted archive can therefore create symlinks
that resolve outside the extraction directory — including UNC targets such as
\\host\share\... — redirecting writes to arbitrary filesystem locations
chosen by the attacker.
Applications that extract untrusted archives with eazip on Windows targets
are affected; on Unix targets backslash is not a separator, which limits
exposure there.
The vulnerability was introduced in version 0.2.5 and fixed in 0.2.7 (a1phyr/eazip@0e4caa13), which rejects backslash and NUL bytes in the symlink target. It was privately reported to the maintainer on 2026-11-06 and credited in the 0.2.7 release notes.
References
3 sourcesInside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
No official CVE record has been imported. Use the source links below for the original advisory.
cve.new JSON →Timeline
All times UTCAdvisory published
Publication date supplied by the source.
Source updated
Latest modification date supplied by the source.
Last imported by cve.new
Latest catalog import, not the date we first saw this advisory.
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.