Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-reachable, no privileges or interaction required; impact limited to low integrity and availability write primitive within the application's filesystem scope.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was detected in Ne-Lexa php-zip up to 4.0.2. This affects the function ZipFile::extractTo of the file src/ZipFile.php of the component ZIP Handler. Performing a manipulation of the argument entryName results in path traversal. It is possible to initiate the attack remotely. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet.
AnalysisAI
Path traversal in Ne-Lexa php-zip up to version 4.0.2 allows remote attackers to write files outside the intended extraction directory by supplying a crafted entryName argument to ZipFile::extractTo(). Any PHP application that processes untrusted ZIP archives using this library is exposed to arbitrary file write at the web server's permission level. No public exploit identified at time of analysis is incorrect here - publicly available exploit code exists via a GitHub issue report, and the project maintainer has not yet responded to the disclosure, leaving all affected versions unpatched.
Technical ContextAI
Ne-Lexa php-zip is a PHP library for reading and writing ZIP archives, identified by CPE cpe:2.3:a:ne-lexa:php-zip:*:*:*:*:*:*:*:*. The vulnerability resides in src/ZipFile.php within the ZipFile::extractTo() method, which handles extraction of individual ZIP entries. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), a classic path traversal flaw: the entryName parameter - derived from the ZIP archive's internal entry filenames - is not sanitized to strip directory traversal sequences such as '../' before being used to construct the target filesystem path. This allows a malicious archive to place files at arbitrary locations accessible to the PHP process, rather than confining them to the specified extraction directory.
RemediationAI
No vendor-released patch is available at time of analysis - the project has not responded to the coordinated disclosure. As a primary compensating control, applications should sanitize ZIP entry names before passing them to ZipFile::extractTo(): validate that the resolved extraction path remains within the intended target directory using PHP's realpath() combined with a prefix check, or apply basename() to strip all directory components from entryName. A more robust alternative is to avoid extracting untrusted ZIP archives with this library entirely until a patched release is available, substituting a maintained library with built-in path traversal protection. If extraction is operationally necessary, restrict the PHP process user's write permissions to only the intended extraction directory via filesystem ACLs, limiting the blast radius of a successful traversal. Monitor VulDB advisory https://vuldb.com/vuln/382660 and the GitHub repository https://github.com/Ne-Lexa/php-zip/ for patch availability.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-48450
GHSA-rqr8-4xxr-j89f