CVE-2026-49954 PUBLISHED

Discuz! X5.0 Local File Inclusion via enable_disable.php Plugin Directory

Assigner: VulnCheck
Reserved: 02.06.2026 Published: 15.06.2026 Updated: 16.06.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 8.6

Product Status

Vendor Discuz!
Product Discuz! X5.0
Versions Default: unknown
  • affected from 20260320 to 20260610 (incl.)

Credits

  • Egidio Romano finder

References

Problem Types

  • Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') CWE