CVE-2026-44226: Archive Symlink Extraction Bypass

Extracting archives without checking for symbolic links can lead to arbitrary file write (symlink escape). An attacker can craft an archive with a symbolic link pointing outside the extraction directory, followed by a file that writes through the symlink. Ensure all entries are validated for symlinks before extraction.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-44226-archive-symlink-extraction-bypass --engine opengrep

Description

Extracting archives without checking for symbolic links can lead to arbitrary file write (symlink escape). An attacker can craft an archive with a symbolic link pointing outside the extraction directory, followed by a file that writes through the symlink. Ensure all entries are validated for symlinks before extraction.