Skip to main content

Discuz! X5.0 CVE-2026-49954

| EUVDEUVD-2026-36794 HIGH
PHP Remote File Inclusion (CWE-98)
2026-06-15 VulnCheck GHSA-prqv-jwmw-qpp3
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain admin credentials
  2. Delivery
    Upload PHP payload via file upload feature
  3. Exploit
    Submit crafted plugin config with traversal directory
  4. Execution
    Trigger exception to bypass sanitization
  5. Persist
    Enable plugin invoking include() on payload
  6. Impact
    Execute arbitrary PHP as web server user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Command and Control

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated Discuz! X5.0 administrator session with permission to import and enable plugins, the ability to upload a file (any of the platform's file-upload endpoints, including attachments or avatars) that will be reachable on disk, and the ability to deliberately interrupt plugin installation with an exception to defeat sanitization of the plugin configuration's 'directory' attribute. The instance must be running an affected X5.0 release between 20260320 and 20260501; non-administrator users, sites running other Discuz! branches, and deployments where the admin control panel is not reachable from the attacker's network position cannot exploit this issue.

Impact

The provided CVSS 4.0 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 is internally consistent with the description: network-reachable admin panel, low complexity once authenticated, no user interaction, and full CIA impact on the web server. The headline 8.6 base score is meaningful but the PR:H requirement is the dominant risk-limiter - only an administrator (or an attacker who has phished/cred-stuffed one) can reach the vulnerable plugin import path, so this is not a mass-exploitation candidate. Publicly available exploit code (referenced as 'chaining-bugs-in-discuz-from-race-condition-to-rce') materially raises the risk for any organization whose admin panel is internet-exposed without IP allowlisting or MFA, because the race-condition trigger is documented end-to-end. EPSS and KEV signals were not provided in the input, so widespread automated exploitation cannot be confirmed; treat this as a high-priority patch for any Discuz! X5.0 operator but not an emergency on par with unauthenticated RCEs.

Exploit ScenarioDerived

An attacker who has compromised or social-engineered a Discuz! X5.0 administrator account uploads an attacker-controlled file (for example an avatar or attachment containing PHP) through the standard upload features, then submits a malicious plugin configuration whose 'directory' attribute contains '../' sequences pointing back to the uploaded file. They deliberately trigger an exception during the plugin install to bypass sanitization, causing the traversal path to persist; enabling the plugin then drives include() to load and execute their uploaded PHP as the web server user. A public chained-exploit write-up demonstrating exactly this race-condition-to-RCE flow is available, so weaponization effort is minimal.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 15, 2026

Authenticated remote code execution in Discuz! X5.0 releases 20260320 through 20260501 allows administrators to chain a path traversal flaw in the plugin import routine with file upload functionality to run arbitrary PHP as the web server user. Publicly available exploit code exists (published by Karma Insecurity / VulnCheck) demonstrating a race-condition-assisted bypass of sanitization, but the issue is not listed in CISA KEV and no public EPSS signal was provided. The high PR:H requirement limits attackers to those already holding administrator credentials or able to obtain them.

RemediationAI

No vendor-released patch identified at time of analysis, so the primary action is to upgrade to a Discuz! X5.0 build later than 20260501 as soon as the vendor publishes one - track the VulnCheck advisory at https://www.vulncheck.com/advisories/discuz-x5-0-local-file-inclusion-via-enable-disable-php-plugin-directory and the Karma Insecurity write-up at https://karmainsecurity.com/KIS-2026-11 for the fixed build identifier. Until a patched build is available, restrict access to the admin control panel (admin.php and the plugin management endpoints) to a VPN or office IP allowlist, enforce MFA on all administrator accounts, and rotate any admin credentials that may have been shared, since the bug is only reachable with administrator privileges. As a deeper compensating control, disable the plugin import/enable-disable functionality at the web-server level (for example by denying access to the plugin installation script via an nginx or Apache location block) - this neutralizes the vulnerable code path but breaks the legitimate plugin install workflow until a patch is applied. Hardening PHP with open_basedir scoped to the Discuz! installation directory and forbidding writes to directories also covered by include paths will blunt the LFI-to-RCE escalation at the cost of breaking plugins that legitimately need broader filesystem access.

Affected VersionsENISA

Discuz! X5.0 20260320 ≤20260610

Affected Packages

euvd discuz_x5_0 no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Discuz! X5.0 is a widely deployed PHP-based forum and community platform from Comsenz/Tencent (CPE cpe:2.3:a:discuz!:discuz!_x5.0). The root cause is CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program - a.k.a. PHP Remote File Inclusion / LFI). The plugin installation workflow parses a configuration archive containing a 'directory' attribute that is meant to identify a sandboxed plugin folder; the installer attempts to sanitize this value, but an exception raised mid-installation short-circuits sanitization, leaving raw '../' path-traversal sequences persisted in plugin state. That tainted directory string is later concatenated into an include() call, so any file the attacker can land on disk - most easily via the platform's own file-upload features - is interpreted as PHP. This is the same LFI-to-RCE primitive that has historically affected PHP CMS platforms whose plugin loaders treat persisted configuration as trusted.

Know when Discuz gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.6 HIGH
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
vuln.today AI 6.6 MEDIUM

Network-reachable admin panel justifies AV:N; race-condition-assisted sanitization bypass raises AC:H; administrator role required so PR:H; full CIA impact on the web server.

3.1 AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Discuz! X5.0 releases 20260320 through 20260501 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.

Executive ViewAI

Why It Matters

Discuz! X5.0 (versions 20260320-20260501) is vulnerable to administrative compromise enabling full web server takeover. With publicly available exploit code in circulation, organizations using affected versions face material risk that either internal bad actors or attackers acquiring administrator credentials could execute arbitrary code on the platform.

Business Impact: High
Compensating Controls

Restrict plugin import functionality via administrative controls; limit administrator account count and enforce strong access controls; implement WAF rules to detect and block malicious plugin upload patterns; enable detailed logging and monitoring of admin activities; segment Discuz! application from other critical systems network-wide pending patch availability.

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +43
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Discuz

View all
CVE-2026-49952 CRITICAL POC
9.3 Jun 15

Authentication bypass in Discuz! X5.0 releases 20260320 through 20260501 allows unauthenticated remote attackers to acce

CVE-2024-30884 HIGH POC
7.1 Apr 11

Reflected Cross-Site Scripting (XSS) vulnerability in Discuz!. Rated high severity (CVSS 7.1), this vulnerability is rem

CVE-2026-49953 MEDIUM POC
6.9 Jun 15

CAPTCHA challenge controls in Discuz! X5.0 (releases 20260320-20260501) can be reliably defeated by unauthenticated remo

CVE-2018-5376 MEDIUM POC
6.1 Jan 12

Discuz!. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low a

CVE-2018-5375 MEDIUM POC
6.1 Jan 12

Discuz!. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low a

CVE-2018-5377 CRITICAL
9.8 Jan 12

Discuz!. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low

CVE-2018-10298 MEDIUM POC
5.4 Apr 22

Discuz!. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack complexity. Public exp

CVE-2018-10297 MEDIUM POC
5.4 Apr 22

Discuz!. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack complexity. Public exp

CVE-2018-5331 MEDIUM POC
5.4 Jan 10

Discuz!. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack complexity. Public exp

CVE-2018-5259 HIGH
8.8 Jan 08

Discuz!. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low attack complexity. No vendor pa

CVE-2018-19464 MEDIUM
4.8 Nov 22

Discuz!. Rated medium severity (CVSS 4.8), this vulnerability is remotely exploitable, low attack complexity. No vendor

CVE-2026-105146 LOW
2.0 Oct 04

SQL injection in the Admin Medal Moderation module of Comsenz Discuz! X5.0 affects builds X5.0-20260801, X5.0-20260820 a

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy