CVE-2026-49954CWE-98

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

High · published June 15, 2026

CVSS v4.0
8.6
EPSS
1%
Percentile
54.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.6 · HIGH
Vector
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
EPSS
0.00739 · 54.0th percentile
Weakness
CWE-98 · Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
Published
2026-06-15T18:50Z
EPSS history
Timeline
  • 15 JUN 18:50Z
    Discuz! X5.0 Local File Inclusion via enable_disable.php Plugin Directory
    cvelistv5