CVE-2026-128090 PHAR OpenSSL signature bypass via algorithm downgrade

High 7.7 Published Updated

Attackers who modify an OpenSSL-signed Phar archive can downgrade its signature type to a keyless hash, bypassing verification and running PHP code in applications loading it.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Harmful if only installed
No
Needs a specific call
Yes
Fix
8.2.36, 8.3, 8.3.37, 8.4

What is CVE-2026-128090?

CVE-2026-128090 is a high-severity security feature bypass vulnerability in PHP, published on 19 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

PHAR OpenSSL signature bypass via algorithm downgrade.

The Phar extension selects the signature verification method from the signature type stored in the archive, and only the OpenSSL types consult the separate .pubkey file holding the trusted public key. An attacker who can modify an OpenSSL-signed Phar archive, but not its public key file, can switch the signature type to a keyless hash such as SHA-256 with a recomputed digest, so the altered archive passes verification even with phar.require_hash enabled. An application that loads the archive may then execute attacker-controlled PHP code. Native, tar-based and zip-based phars are affected.

This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.

Weakness: CWE-757, CWE-347

Which versions are affected by CVE-2026-128090?

It affects 1 product.

An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.

Products include PHP.

CPE match criteria (4)
CPE 2.3Versions
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*before 8.2.36
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*from 8.3.0, before 8.3.37
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*from 8.4.0, before 8.4.28
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*from 8.5.0, before 8.5.13

How do I fix CVE-2026-128090?

Upgrade PHP to the fixed version for your release line. The advisory names 8.2.36, 8.3, 8.3.37 and 8.4.

Upgrade to the fixed version, and do not rely on a single control for protection. More about Security feature bypass.

Is CVE-2026-128090 being exploited?

There is no known exploitation of CVE-2026-128090 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2026-128090, DEBIAN-CVE-2026-128090, UBUNTU-CVE-2026-128090.

Is CVE-2026-128090 in your software?

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

Check your SBOMs for free