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.
Published: 2026-07-23
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Fri, 24 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 23 Jul 2026 22:45:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-24T11:09:57.109Z

Reserved: 2026-07-23T14:25:29.169Z

Link: CVE-2026-16767

cve-icon Vulnrichment

Updated: 2026-07-24T11:09:51.959Z

cve-icon NVD

Status : Deferred

Published: 2026-07-23T23:16:48.400

Modified: 2026-07-24T20:45:45.697

Link: CVE-2026-16767

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T21:00:12Z

Weaknesses
  • CWE-22

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