PHP Phar OpenSSL signature bypass via algorithm downgrade (CVE-2026-128090)
CVE-2026-128090 is a high-severity signature verification bypass in PHP's Phar extension. An attacker able to modify an OpenSSL-signed Phar archive can downgrade the signature type to a keyless hash (e.g. SHA-256) and recompute the digest, causing the altered archive to pass verification even with phar.require_hash enabled. Native, tar-based and zip-based phars are affected. Fixed versions are PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13.
What to do
1. Identify PHP installations in scope: verify the exact PHP version on affected Linux hosts before making changes; this issue affects 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. 2. Patch affected PHP installations to the fixed versions listed above, or apply the vendor's recommended mitigation if a full upgrade is not immediately possible. 3. Review applications that load Phar archives, especially those that rely on OpenSSL signatures for integrity/authenticity, and confirm whether they load untrusted or modifiable Phar files. 4. After patching, re-test Phar loading paths to ensure legitimate signed archives still verify and that the signature downgrade is no longer accepted. 5. If you are unsure whether a deployment is affected or a vendor-specific patch is needed, verify the PHP advisory before changing production systems.
Reference: NVD — https://nvd.nist.gov/vuln/detail/CVE-2026-128090 ; PHP security advisory — https://github.com/php/php-src/security/advisories/GHSA-68fq-fh7h-f8gr