CVE-2026-10662: Zipfile Extractall Zip Slip

Directly calling `extractall()` on an untrusted ZIP archive without supplying a safely filtered `members` list can result in a Zip Slip vulnerability. Attackers can include paths such as `../` within the archive to write arbitrary files outside the intended destination directory. To remediate, iterate over the archive's `infolist()` and validate that each re

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-10662-zipfile-extractall-zip-slip --engine opengrep

Description

Directly calling `extractall()` on an untrusted ZIP archive without supplying a safely filtered `members` list can result in a Zip Slip vulnerability. Attackers can include paths such as `../` within the archive to write arbitrary files outside the intended destination directory. To remediate, iterate over the archive's `infolist()` and validate that each re