CVE-2026-49954
Discuz! X5.0 Local File Inclusion via enable_disable.php Plugin Directory
- State
- Published
- Severity
- 8.6 High
- Published
- Jun 15, 2026
- Updated
- Jul 28, 2026
- Reserved
- Jun 2, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.6 High | 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 |
| 3.1 | 7.2 High | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
Affected Products
| Product | Versions |
|---|---|
Discuz! X5.0Discuz! |
|
References
- https://karmainsecurity.com/KIS-2026-11technical-description
- https://karmainsecurity.com/chaining-bugs-in-discuz-from-race-condition-to-rceexploit
- https://www.vulncheck.com/advisories/discuz-x5-0-local-file-inclusion-via-enable-disable-php-plugin-directorythird-party-advisory
- http://seclists.org/fulldisclosure/2026/Jun/5
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.