llamaCVEVulnerability Intelligence
/
WordPress

CVE-2026-87902

WordPress unauthenticated file inclusion in page template lookup

Unauthenticated attackers can load any readable PHP file outside the theme folders, which may enable code execution.

CISA KEV · explotación activaCrítica · en CISA KEV, EPSS ≥ 10 %Explotación activaParche disponible
Descargar PNG JSON
CVSS 3.1
8.1
Alta
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Fuente: CISA-ADP
ExplotaciónActivaEn CISA KEV desde 25 sept 2026
Exploits públicos11 fuente
Parche1 versión7.1.2
Exposición57 dDesde la divulgación, 22 sept 2026, 11:44 a. m.
EPSS ≥ 10 %22 oct 2026Fecha en que la probabilidad de explotación superó el umbral
Decisión SSVCAtender
Priorizar en el próximo ciclo de cambios
Explotación activa, no automatizable e impacto técnico total. Plazo KEV: 28 sept 2026.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
CISA KEV
Exploit-DB
Umbral EPSS
Remediación
Plazo KEV
Monitoreo
Detectada
Fuente: Exploit-DB
Verificada
22 sept 26
25 sept 26
26 sept 26
28 sept 26
1 oct 26
22 oct 26
24 oct 26
19 nov 26
22 sept 26
7 oct 26
21 oct 26
5 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-87902 divulgada · CVSS 8.1 (CISA-ADP)
Divulgación Evaluación SSVC CISA-ADP · explotación activa
Explotación CISA KEV Agregada al catálogo de vulnerabilidades explotadas
Divulgación Modificada Última actualización del registro
Remediación Plazo KEV Fecha límite de remediación para agencias federales (EE. UU.)
Explotación Exploit-DB 1 exploit público
Explotación Umbral EPSS La probabilidad de explotación supera el 10 %
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: Exploit-DB Registro visto por primera vez en Exploit-DB
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 18 nov 2026

WordPress has a flaw in how it picks a page template, which lets an attacker make the site load a chosen readable PHP file from outside the theme folders. It can be reached remotely without logging in and can lead to remote code execution when certain server and theme conditions are met, and it is listed as being exploited in attacks, with public exploit code available.

Affects WordPress before 7.1.2 when the active theme has a top-level directory starting with page-, such as Twenty Twelve or Neve. Fixed in 7.1.2.

¿Qué significa?An unauthenticated attacker can make WordPress include a chosen readable local PHP file from outside the theme directories during page-template resolution in get_page_template(). If the right server and theme conditions are met, this can lead to remote code execution.
¿Quién está afectado?WordPress versions before 7.1.2 are listed as affected. The active child or parent theme must also have a top-level directory whose name starts with page- (for example page-templates), and the chosen local .php file must be readable by the web server account. Remote code execution through pearcmd.php additionally needs register_argc_argv set to On. To check, look at the WordPress version in the dashboard and at the active theme's folder names.
¿Qué hacer?Upgrade WordPress to 7.1.2 or later.
Descripción original del registro

An unauthenticated attacker can make `get_page_template()` page-template resolution include a chosen readable local `.php` file outside the active theme directories. If relevant pre-conditions for both the server and the active theme are met, this can lead to RCE.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Active child or parent theme has a top-level directory whose name starts with page- (e.g. Twenty Twelve, Twenty Fourteen, Neve, Hestia, Sydney)“The active child or parent theme contains a top-level directory whose name starts with page- (e.g. page-templates ).”
02
A chosen local .php file exists on the server and is readable by the web server account“A chosen local .php target file exists on the server and is readable by the web server account.”
03
For RCE via pearcmd.php, register_argc_argv must be On (Docker php image and default cPanel with PHP before 8.5 are affected)“The well known pearcmd.php PEAR→RCE transition can be used for this when register_argc_argv is set to On .”
¿Quién debe revisar?WordPress sites (4.7 to 7.1.1) whose active theme has a top-level page- directory, such as Twenty Twelve, Twenty Fourteen, Neve, Hestia or Sydney, with a readable local PHP file.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CISA-ADP
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
WordPress< 7.1.2
7.1.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
WordPress
Corregida 7.1.2 — —
Versiones corregidas7.1.2
Explotación

Arsenal público

Exploit-DB
EDB-52690
1
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
—
0
Referencias
Fabricantehttps://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp
Exploithttps://www.exploit-db.com/exploits/52690

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.