Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.9

CVE-2026-128090: PHP phar archives can be tampered to execute code

CVE-2026-128090 · published 3 days ago
Summary

PHP versions before the latest releases (8.2.36, 8.3.37, 8.4.28, 8.5.13) may accept a modified phar archive that appears to be signed, allowing an attacker to run their own PHP code when the archive is loaded. This affects any application that loads phar, tar, or zip based archives. Update PHP to the patched versions or stop loading untrusted phar files to protect your systems.

What to do
  • Update debian php8.4 to version 8.4.28-1~deb13u1.
  • Update debian php8.2 to version 8.2.36-1~deb12u1.
  • Update php83 to version 8.3.37-r0.
  • Update php84 to version 8.4.28-r0.
  • Update php85 to version 8.5.13-r0.
  • Update bellsoft php83 to version 8.3.37-r0.
  • Update php group php to version 8.2.36 or later.
Affected software
Ecosystem VendorProductAffected versions
– php group php < 8.2.36
Debian:12 debian php8.2 < 8.2.36-1~deb12u1
Fix: upgrade to 8.2.36-1~deb12u1
Debian:13 debian php8.4 < 8.4.28-1~deb13u1
Fix: upgrade to 8.4.28-1~deb13u1
Debian:14 debian php8.4 All versions
Alpine:v3.24 – php83 < 8.3.37-r0
Fix: upgrade to 8.3.37-r0
Alpine:v3.24 – php84 < 8.4.28-r0
Fix: upgrade to 8.4.28-r0
Alpine:v3.24 – php85 < 8.5.13-r0
Fix: upgrade to 8.5.13-r0
Alpaquita:stream bellsoft php83 >= 8.3.4-r2, < 8.3.37-r0
Fix: upgrade to 8.3.37-r0
Original advisory text
BELL-CVE-2026-128090
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.
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker full control
Severity
9.9 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-347Improper Verification of Cryptographic Signature
CWE-757Selection of Less-Secure Algorithm During Negotiation ('Algorithm Downgrade')
Timeline
Published19 Nov 2026
Updated22 Nov 2026
First seen19 Nov 2026
Track software like this
Free during beta