Intel

AIKIDO-2026-484389

zip is vulnerable to Path Traversal

GHSA-4v9h-p7m9-rh26Published Oct 30, 2026
October 30, 2026

84

CVE Score

High

Path Traversal

Are you affected? Scan for Free

TL;DR

ZipArchive::extract creates a symbolic link from an archive entry after validating only the output path, not the link target. The link target bytes from the archive pass directly to the platform symlink API, so a crafted entry can resolve to a path outside the destination directory. A later read or write through that extracted path then reaches the external target with the extracting process's permissions. The fix validates that the symlink target stays within the destination before creating the link.

How do I fix this?

Upgrade the zip library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you extract untrusted ZIP archives that contain symbolic link entries.

Package

Versions

1.3.0 - 8.6.0

Fixed in 9.0.0

Background info

zip is vulnerable to Path Traversal in versions 1.3.0 - 8.6.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea