Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-49954: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in Discuz! Discuz! X5.0

0
High
VulnerabilityCVE-2026-49954cvecve-2026-49954
Published: Mon Jun 15 2026 (06/15/2026, 18:50:01 UTC)
Source: CVE Database V5
Vendor/Project: Discuz!
Product: Discuz! X5.0

Description

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.

CVSS v4.0

Score 8.6high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
discuz/discuz-x5.0
pkg:github/discuz/discuz-x5.0
Affected versions
>=20260320 <=20260501

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/15/2026, 19:45:41 UTC

Technical Analysis

CVE-2026-49954 is a local file inclusion vulnerability in Discuz! X5.0 (releases from 20260320 through 20260501). It arises from improper control of filenames used in include/require statements when importing plugin configurations. Authenticated administrators can import a specially crafted plugin configuration containing path traversal sequences in the directory attribute. During plugin installation, an exception can be triggered that bypasses sanitization, allowing malicious paths to be stored unsanitized and later passed to PHP's include() function. Combined with file upload functionality, this enables arbitrary code execution in the context of the web server user.

Potential Impact

Successful exploitation allows an authenticated administrator to execute arbitrary code on the server running Discuz! X5.0. This can lead to full compromise of the web server environment under the web server user privileges. The vulnerability requires administrator privileges but does not require user interaction and has a network attack vector, making it a significant risk in environments where administrator credentials are compromised or misused.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict administrator access to trusted personnel only and monitor plugin import activities closely. Avoid importing plugins from untrusted sources. Follow vendor advisories for updates on patches or official mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-06-02T16:30:15.232Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a3052e10b89be68888274a7

Added to database: 6/15/2026, 7:30:41 PM

Last enriched: 6/15/2026, 7:45:41 PM

Last updated: 6/16/2026, 6:06:05 AM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses