CVE-2026-49954
JSON

8.6high

Discuz! X5.0 Local File Inclusion via enable_disable.php Plugin Directory

Severity
8.6high CVSS:4.0 by VulnCheck
Exploit likelihood
0.53% (higher than 45% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

Discuz! X5.0 releases 20260320 through 20260610 contain a local file inclusion vulnerability that allows authenticated administrators to execute arbitrary code by importing a specially crafted plugin configuration containing path traversal sequences in the directory attribute. Attackers can trigger an exception during plugin installation to bypass sanitization routines, causing malicious paths to be stored unsanitized and subsequently passed to include(), which combined with file upload functionality escalates to arbitrary code execution in the context of the web server user.

Affected

Product or packageVersionsReported by
Discuz! Discuz! X5.0from 20260320 up to 20260610CVE List

All scores

VulnCheck8.6high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-98

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

Discuz! X5.0 releases 20260320 through 20260610 contain a local file inclusion vulnerability that allows authenticated administrators to execute arbitrary code by importing a specially crafted plugin configuration containing path traversal sequences in the directory attribute. Attackers can trigger an exception during plugin installation to bypass sanitization routines, causing malicious paths to be stored unsanitized and subsequently passed to include(), which combined with file upload functionality escalates to arbitrary code execution in the context of the web server user.

NVD (es)

Las versiones de Discuz! X5.0 desde la 20260320 hasta la 20260610 contienen una vulnerabilidad de inclusión local de ficheros que permite a administradores autenticados ejecutar código arbitrario mediante la importación de una configuración de plugin especialmente diseñada que contiene secuencias de salto de ruta en el atributo de directorio. Los atacantes pueden desencadenar una excepción durante la instalación del plugin para eludir las rutinas de saneamiento, provocando que las rutas maliciosas se almacenen sin sanear y se pasen posteriormente a include(), lo que, combinado con la funcionalidad de carga de ficheros, escala a ejecución de código arbitrario en el contexto del usuario del servidor web.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-49954 changed 2026-07-28CVE Terms of Use
NVDCVE-2026-49954 changed 2026-10-25Public domain