CVE-2026-49954

published 15 Jun 2026 · updated 28 Jul 2026

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

8.2HighCVSS 7.2EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Discuz!>=20260320 <=20260610

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-49954 severity on Zeptric[![CVE-2026-49954](https://zeptric.io/badge/cve/CVE-2026-49954.svg)](https://zeptric.io/cve/CVE-2026-49954)