CVE-2026-16767

Ne-Lexa php-zip ZIP ZipFile.php extractTo path traversal

Published Jul 23, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A vulnerable version of Ne‑Lexa php‑zip allows an attacker to manipulate the entryName parameter of the ZipFile::extractTo method in ZipFile.php to perform a directory traversal. The flaw is a classic path‑traversal flaw (CWE‑22) that can let an adversary extract files outside the intended destination, potentially exposing sensitive data or enabling further exploitation. The description explicitly states that the attack can be initiated remotely and that the exploit is now public.

Affected Systems

The affected component is Ne‑Lexa php‑zip, version 4.0.2 and earlier. Only releases up to 4.0.2 are known to be vulnerable; later revisions may have applied the fix.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity and the EPSS score of less than 1% shows a very low but non‑zero likelihood of exploitation at the time of analysis. The vulnerability is not listed in the CISA KEV catalog. Based on the description, the attack vector is remotely exploitable, likely through a crafted ZIP archive that an application using the library processes.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Ne‑Lexa php‑zip to a version that addresses the path traversal bug, if one is available; otherwise monitor the repository for a forthcoming patch
  • Implement input validation for ZIP entry names and enforce a strict extraction directory to prevent traversal before calling extractTo
  • If upgrading is delayed, restrict the execution of ZipFile::extractTo to trusted ZIP files only and run the extraction under limited privileges to mitigate potential damage

Generated by OpenCVE AI on August 3, 2026 at 20:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Ne-Lexa php-zip ZIP ZipFile.php extractTo path traversal
First Time appeared Ne-lexa
Ne-lexa php-zip
Weaknesses CWE-22
CPEs cpe:2.3:a:ne-lexa:php-zip:*:*:*:*:*:*:*:*
Vendors & Products Ne-lexa
Ne-lexa php-zip
References
Metrics cvssV2_0

{'score': 6.4, 'vector': 'AV:N/AC:L/Au:N/C:N/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.5, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 6.9, 'vector': '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'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jul 24, 2026, 11:09 AM
Reserved
Jul 23, 2026, 2:25 PM
Status
Deferred
Published
Jul 23, 2026, 11:16 PM
Modified
Oct 24, 2026, 1:10 PM