Skip to main content

Ne-Lexa php-zip EUVDEUVD-2026-48450

| CVE-2026-16767 MEDIUM
Path Traversal (CWE-22)
2026-07-23 VulDB GHSA-rqr8-4xxr-j89f
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious ZIP with traversal entry
  2. Delivery
    Upload archive to target application
  3. Exploit
    Trigger ZipFile::extractTo() call
  4. Execution
    Traverse directory boundary via entryName
  5. Persist
    Write attacker-controlled file to arbitrary path
  6. Impact
    Execute payload (e.g., web shell)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The application must invoke ZipFile::extractTo() from Ne-Lexa php-zip version 4.0.2 or earlier with an entryName value sourced from a ZIP archive controlled by the attacker - typically through a file upload endpoint, a URL-fetched archive, or any other path where untrusted ZIP content is processed. No authentication is required by the library itself (PR:N per CVSS vector), though application-layer authentication on the upload endpoint would raise the attacker's initial access bar. Exploitation is limited to the filesystem permissions of the PHP process user; it does not by itself grant code execution unless the written file lands in a web-accessible or executable location. Non-default server configurations that restrict write permissions outside the web root, or that disable direct PHP file execution, reduce but do not eliminate the risk of chained exploitation.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) indicates fully remote, zero-complexity, unauthenticated exploitation with no user interaction required - a favorable attack profile. Impact is bounded to VI:L and VA:L on the vulnerable system, reflecting limited integrity and availability consequences rather than full system compromise. The E:P supplemental metric confirms publicly available proof-of-concept code, which lowers the bar for exploitation significantly. There is no CISA KEV listing, so mass in-the-wild exploitation is not confirmed; however, the combination of a public POC, unpatched status, and low attack complexity makes this a credible near-term threat for any application processing untrusted ZIP files with this library. The moderate CVSS base score of 6.9 may understate real risk if an attacker leverages file-write primitives to stage web shells in a document root or overwrite configuration files - an impact chain not fully reflected in the VI:L/VA:L metrics. No conflicting data signals were identified, though the absence of a vendor advisory limits independent verification of the full affected version range.

Exploit ScenarioDerived

An attacker submits a crafted ZIP archive to a PHP web application that uses Ne-Lexa php-zip to process user-uploaded files. The archive contains an entry with a filename like '../../var/www/html/shell.php', which php-zip's ZipFile::extractTo() resolves relative to the filesystem rather than the intended extraction directory. The attacker's payload is written to the web root, where it can subsequently be executed as a web shell. Publicly available exploit code exists via the GitHub issue at https://github.com/Ne-Lexa/php-zip/issues/100, lowering the skill threshold for this attack.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 23, 2026

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.

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.

Affected VersionsENISA

php-zip 4.0.2
php-zip 4.0.1
php-zip 4.0.0

Affected Packages

euvd php_zip no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.5 MEDIUM
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
vuln.today AI 6.5 MEDIUM

Network-reachable, no privileges or interaction required; impact limited to low integrity and availability write primitive within the application's filesystem scope.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Jul 23, 2026 - 23:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Jul 23, 2026 - 22:15 cve.org
MEDIUM 6.9

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

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Low
niche PHP ZIP library, limited enterprise production adoption
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy