Every CVESearch/Get API key

GHSA-4v9h-p7m9-rh26

zip: `ZipArchive::extract` creates symbolic links whose attacker-controlled targets are outside the destination directory

No scoreFix available

In zip 9.0.0-pre2, ZipArchive::extract creates a symbolic link from an archive entry after validating only the output entry path. The link target bytes are passed directly to the platform symlink API, so a malicious archive can create an entry inside the destination that resolves to an attacker-chosen path outside it. This behavior was verified on macOS and Linux. On either platform, a subsequent application read or write through that extracted entry accesses the external target with the extracting process's permissions.

For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-4v9h-p7m9-rh26

What each source reports

OSVRUSTSEC-2026-0368No score

zip: `ZipArchive::extract` creates symbolic links whose attacker-controlled targets are outside the destination directory

In zip 9.0.0-pre2, ZipArchive::extract creates a symbolic link from an archive entry after validating only the output entry path. The link target bytes are passed directly to the platform symlink API, so a malicious archive can create an entry inside the destination that resolves to an attacker-chosen path outside it. This behavior was verified on macOS and Linux. On either platform, a subsequent application read or write through that extracted entry accesses the external target with the extracting process's permissions.

For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-4v9h-p7m9-rh26

Record
RUSTSEC-2026-0368
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
zip
crates.io
0.0.0-0 up to 9.0.0
9.0.0

History

History
RecordedChangedSources
first indexedOSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

GHSA-4v9h-p7m9-rh26 is a vulnerability with no CVSS score yet in zip, published October 9, 2026. No source lists public exploit code. Fixed in zip 9.0.0.

References

MoveEnter Open