CVE-2026-41193: Php Zip Slip Extract Without Path Containment

Zip Slip / Path Traversal: a destination path is built by concatenating a ZIP entry name (or a value derived from it via str_replace) with a base directory and is then used as the target of a file write without validating that the resolved path stays under the base directory. A crafted ZIP entry containing '../' or '..\\' segments can cause arbitrary file wr

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-41193-php-zip-slip-extract-without-path-containment --engine opengrep

Description

Zip Slip / Path Traversal: a destination path is built by concatenating a ZIP entry name (or a value derived from it via str_replace) with a base directory and is then used as the target of a file write without validating that the resolved path stays under the base directory. A crafted ZIP entry containing '../' or '..\\' segments can cause arbitrary file wr