High severity · published Jun 15, 2026
CVE-2026-49954
Discuz! X5.0 Local File Inclusion via enable_disable.php Plugin Directory
7.2
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 44% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DX
Discuz! X5.0 · Discuz!
20260320 through 20260610 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-49954
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-49954
karmainsecurity.com
https://karmainsecurity.com/KIS-2026-11
karmainsecurity.com
https://karmainsecurity.com/chaining-bugs-in-discuz-from-race-condition-to-rce
www.vulncheck.com
https://www.vulncheck.com/advisories/discuz-x5-0-local-file-inclusion-via-enable-disable-php-plugin-directory
seclists.org
http://seclists.org/fulldisclosure/2026/Jun/5
More from Discuz! X5.0
9.1
CVE-2026-49952
Discuz! X5.0 Authentication Bypass via dbbak.php Encryption Oracle
6.5
CVE-2026-49953
Discuz! X5.0 CAPTCHA Bypass via Predictable Character Set
