CVE-2026-49954 Details
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.
A local file inclusion vulnerability has been identified in Discuz! X5.0, specifically in releases from 20260320 to 20260610. This vulnerability allows authenticated administrators to execute arbitrary code by importing a malicious plugin configuration that includes path traversal sequences in the directory attribute. The issue arises because the application fails to properly sanitize the plugin metadata before it is processed. Exploitation of this vulnerability involves triggering an exception during the plugin installation, which bypasses the sanitization routines and allows malicious paths to be stored and later included via the PHP include() function. When combined with the application's file upload functionality, this vulnerability can be escalated to arbitrary code execution on the server, with the executed code running in the context of the web server user.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 15, 2026CISA-ADP
Assessed Jun 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://seclists.org/fulldisclosure/2026/Jun/5 | CVE | |
| https://karmainsecurity.com/chaining-bugs-in-discuz-from-race-condition-to-rce | [email protected] | BundleExploitTechnical Analysis |
| https://karmainsecurity.com/KIS-2026-11 | [email protected] | AdvisoryExploitRemedy |
| https://www.vulncheck.com/advisories/discuz-x5-0-local-file-inclusion-via-enable-disable-php-plugin-directory | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-98 | Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Discuz! | >= 20260320, <= 20260610 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 16, 2026 | CVE Modified | CVE |
| Jun 15, 2026 | CVE Modified | [email protected] |
| Jun 15, 2026 | New CVE Received | [email protected] |
Volerion