# CVE-2026-49954: Discuz! X5.0 Local File Inclusion via enable_disable.php Plugin Directory

- Severity: High 8.6 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-15T18:50:01.058Z
- Modified: 2026-10-25T23:10:00.167Z
- Weaknesses: CWE-98
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- Discuz! Discuz! X5.0: from 20260320 up to 20260610

## Every score

- VulnCheck: CVSS: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: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://karmainsecurity.com/chaining-bugs-in-discuz-from-race-condition-to-rce> (exploit)
- <https://karmainsecurity.com/KIS-2026-11> (technical-description)
- <https://www.vulncheck.com/advisories/discuz-x5-0-local-file-inclusion-via-enable-disable-php-plugin-directory> (third-party-advisory)
- <http://seclists.org/fulldisclosure/2026/Jun/5>

## Sources

- CVE List: [CVE-2026-49954](https://www.cve.org/CVERecord?id=CVE-2026-49954), CVE Terms of Use, modified 2026-07-28
- NVD: [CVE-2026-49954](https://nvd.nist.gov/vuln/detail/CVE-2026-49954), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-49954 · Whole record: https://cve.day/CVE-2026-49954.json · Rebuilt by cve.day 2026-11-25T22:59:24.656Z
