CVE-2026-128090: PHP PHAR OpenSSL Signature Bypass via Algorithm Downgrade
- Vendor
- PHP Group
CVE-2026-128090 is an algorithm-downgrade vulnerability in PHP's Phar extension. Signature verification is selected using the signature type stored inside the archive, and only OpenSSL signature types consult the separately trusted public key. An attacker able to modify an OpenSSL-signed archive can replace its signature with an unkeyed hash, such as SHA-256, and recompute the digest over malicious contents. PHP then accepts the modified archive without authenticating it against the trusted key, even with phar.require_hash enabled. Loading and executing the modified archive can run attacker-controlled PHP code. Native, tar-based, and zip-based executable phars, as well as explicitly signed tar-based and zip-based PharData archives, are affected. The vulnerable behavior dates to PHP 5.3.0; fixed releases for branches 8.2 through 8.5 are 8.2.36, 8.3.37, 8.4.28, and 8.5.13, respectively.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
The vulnerability defeats the authenticity guarantee of OpenSSL-signed Phar archives without requiring possession of the publisher's private key or modification of the trusted public key. Applications can accept attacker-modified executable code or archive data as authentic. If the application executes PHP code from the archive, exploitation provides arbitrary PHP code execution with the affected process's privileges, potentially compromising the confidentiality, integrity, and availability of resources accessible to that process. Acceptance of a modified data-only archive does not itself establish code execution.
Mitigation
If you can’t patch tonight, do this now.
Obtain the publisher's public key through an authenticated channel and protect its sidecar independently from archive downloads and updates. Before patching, verify archives before PHP loads them using an independent mechanism that pins a trusted key. Such independent verification is also necessary if the sidecar cannot be protected. Restrict unauthorized archive replacement or modification. Do not rely on phar.require_hash alone for authenticity, because an attacker can recompute an unkeyed hash.
Remediation
Patch, then assume compromise.
Upgrade to PHP 8.2.36, 8.3.37, 8.4.28, or 8.5.13, or a later fixed release in the corresponding branch. Alternatively, install a distribution-supported package explicitly incorporating the fix, assessing backported packages by their complete package release rather than upstream version alone. The fix rejects non-OpenSSL signatures when an adjacent public-key sidecar indicates that OpenSSL verification is expected. Independently protect that sidecar against removal or replacement; the fix does not protect deployments where attackers can also alter or delete the trusted key.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-128090 exploited in the wild?
- As of Nov 28, 2026, Mallory has no reports of CVE-2026-128090 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-128090?
- As of Nov 28, 2026, Mallory has found no public exploit for CVE-2026-128090.
- Is there a patch for CVE-2026-128090?
- Upgrade to PHP 8.2.36, 8.3.37, 8.4.28, or 8.5.13, or a later fixed release in the corresponding branch. Alternatively, install a distribution-supported package explicitly incorporating the fix, assessing backported packages by their complete package release rather than upstream version alone.
- What products are affected by CVE-2026-128090?
- PHP Group Php.
- How severe is CVE-2026-128090?
- CVE-2026-128090 has a CVSS v4 score of 7.7 (High) and an EPSS score of 0.32% (17th percentile) as of Nov 28, 2026.
Recent activity
285 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.