CVE-2026-128090
PHP signature bypass in Phar archive verification
Attackers can alter a signed archive so it passes as valid and runs attacker-controlled code in apps that load it.
Texto original en inglés · Ver en español
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Publicada | CVE-2026-128090 divulgada · CVSS 7.7 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
PHP's Phar extension can be tricked into accepting a modified, OpenSSL-signed Phar archive as valid, as long as the attacker can change the archive but not its public key file. An attacker can exploit this remotely, without logging in, though a user must take an action for the attack to work. An application that loads the altered archive may then run attacker-controlled PHP code.
Affects PHP setups that verify OpenSSL-signed Phar archives against an installed public key. Fixed in PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13.
Descripción original del registro (php)
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.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
PHP |
Corregida | 8.2.36, 8.3.37, 8.4.28, 8.5.13 | — | — |
8.2.368.3.378.4.288.5.13Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/php/php-src/security/advisories/GHSA-68fq-fh7h-f8grLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
