CVE-2026-16767 Ne-Lexa php-zip ZIP ZipFile.php extractTo path traversal

Medium 6.9 Published Updated

Remote attackers can exploit path traversal in the extractTo function to write files outside the intended directory, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-16767?

CVE-2026-16767 is a medium-severity path traversal vulnerability in Ne-Lexa php-zip, published on 23 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-22

Which versions are affected by CVE-2026-16767?

How do I fix CVE-2026-16767?

No fix has been published for CVE-2026-16767 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-16767 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-16767 exists.

Sources

Also known as GHSA-rqr8-4xxr-j89f.

Is CVE-2026-16767 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free