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 package | Versions | Reported by |
|---|---|---|
| Discuz! Discuz! X5.0 | from 20260320 up to 20260610 | CVE List |
All scores
| VulnCheck | 8.6high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-49954 changed 2026-07-28 | CVE Terms of Use |
| NVD | CVE-2026-49954 changed 2026-10-25 | Public domain |