CVE-2026-49954: Discuz! X5.0 local file inclusion in plugin management

CVE-2026-49954 · Severity: high · CVSS 7.2 · Published 2026-06-15

Discuz! X5.0, a popular forum and community platform, contains a security flaw in its plugin management system. An attacker with administrative access can upload a malicious plugin configuration to trick the server into running unauthorized code. This could allow a compromised administrator account to take full control of the web server, potentially leading to data theft or a complete site shutdown.

Technologies: Discuz! X. Vendors: Discuz!.

Quick answers

Is CVE-2026-49954 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-49954 being exploited in the wild.
How severe is CVE-2026-49954?
High severity, with a CVSS score of 7.2, published 15 June 2026.
Which products and versions are affected?
Discuz! X 20260320 through 20260610.
Is there a fix for CVE-2026-49954?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-49954 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-49954?
Check whether you run Discuz! X at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A Local File Inclusion (LFI) vulnerability exists in the plugin management functionality of Discuz! X5.0 (specifically within enable_disable.php). The root cause is insufficient validation of the 'directory' attribute during the plugin import process. An authenticated administrator can import a configuration containing path traversal sequences; by triggering an exception during installation, they can bypass sanitization routines and store malicious paths in the database. These paths are later passed to a PHP include() call. When combined with the ability to upload files, this allows for arbitrary PHP code execution in the context of the web server user. While this specific bug requires administrative privileges, researchers have demonstrated it can be chained with other flaws (like race conditions) to achieve pre-authentication remote code execution.

Affected products

  • Discuz! Discuz! X5.0 20260320 through 20260610

Timeline

  • 2026-04-27: other: Initial vendor contact attempt
  • 2026-06-09: other: CVE identifier assigned
  • 2026-06-13: disclosed: Public disclosure at hackmeeting 0x1D
  • 2026-06-15: advisory: Publication of technical advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.