CVE-2026-49954 HIGH

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

Vendor Discuz!
Product Discuz! X5.0
Weakness CWE-98 · PHP file inclusion
Published June 15, 2026
Last update June 16, 2026

CVSS base score

8.6/10
Attack vector Network
Attack complexity Low
Privileges required High
User interaction None
Confidentiality
Integrity

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

What the vulnerability does

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.

Key dates

Disclosure timeline

June 15, 2026 CVE published
June 16, 2026 Record updated