CVE-2026-49954

HIGH

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

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 7.2
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-98
Status published
Products (1)
Discuz!/Discuz! X5.0 20260320 - 20260610
Published Jun 15, 2026
Tracked Since Jun 16, 2026