CVE-2026-128090: PHP PHAR OpenSSL Signature Bypass via Algorithm Downgrade
- Vendor
- PHP Group
CVE-2026-128090 is a cryptographic signature-verification bypass in PHP's Phar extension. Verification selects its algorithm from attacker-modifiable archive metadata, and only OpenSSL signature types consult the separately trusted public key. An attacker can modify an OpenSSL-signed archive, replace its signature type with an unkeyed hash such as SHA-256, and recompute the digest. PHP accepts the altered archive without authenticating it against the trusted key, even when phar.require_hash is enabled. Native, tar-based, and zip-based executable Phar archives, as well as explicitly signed tar-based and zip-based PharData archives, are affected. Loading and executing a modified executable archive can run attacker-controlled PHP code. Affected maintained branches are PHP 8.2 before 8.2.36, 8.3 before 8.3.37, 8.4 before 8.4.28, and 8.5 before 8.5.13.
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 publisher authentication and allows attacker-modified archives to pass verification without possession of the signing private key. If an application executes PHP code from the altered archive, the attacker can execute code with the PHP process's privileges, potentially compromising confidentiality, integrity, and availability. For signed data archives, the immediate consequence is acceptance of unauthenticated modified contents; code execution depends on subsequent application behavior.
Mitigation
If you can’t patch tonight, do this now.
Before PHP loads an archive, verify its authenticity using an independent mechanism that pins a trusted publisher key, particularly when archive delivery or update mechanisms cannot protect the public-key sidecar independently. Obtain the publisher's key through an authenticated channel and prevent archive download or update mechanisms from removing or replacing it. Protecting the sidecar is necessary for the patched verification behavior but does not by itself prevent downgrade on vulnerable PHP releases. Do not rely on phar.require_hash alone for authenticity, because unkeyed hashes detect corruption rather than authenticate a publisher.
Remediation
Patch, then assume compromise.
Upgrade to PHP 8.2.36, 8.3.37, 8.4.28, or 8.5.13, or a later release in the corresponding branch. For distribution-maintained installations, install the vendor's security update, including applicable backported fixes. The upstream fix rejects non-OpenSSL signatures when an adjacent public-key sidecar indicates that OpenSSL verification is expected. Protect that sidecar independently from the archive: the fix does not secure deployments where an attacker can also remove or replace the trusted public 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 24, 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 24, 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 release in the corresponding branch. For distribution-maintained installations, install the vendor's security update, including applicable backported fixes.
- 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% (25th percentile) as of Nov 24, 2026.
Recent activity
219 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.