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…
EPSS 0.5%top 58%

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: 06/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 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.

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: 07/30/2026, 00:45:52 UTC

Technical Analysis

CVE-2026-49954 is a local file inclusion vulnerability in Discuz! X5.0 versions between 20260320 and 20260501. It arises from improper control of filenames in include/require statements during plugin installation. Authenticated administrators can import a malicious plugin configuration containing path traversal sequences in the directory attribute. An exception triggered during installation bypasses sanitization, causing malicious paths to be stored and later included unsafely. This vulnerability can escalate to arbitrary code execution in the context of the web server user when combined with file upload features.

Potential Impact

Successful exploitation allows authenticated administrators to execute arbitrary code on the server running Discuz! X5.0. This can lead to full compromise of the web server process, potentially affecting the confidentiality, integrity, and availability of the affected system and its data.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict administrative access to trusted users only and avoid importing untrusted plugin configurations. Monitor vendor channels for updates and apply patches promptly once released.

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: 06/15/2026, 19:30:41 UTC

Last enriched: 07/30/2026, 00:45:52 UTC

Last updated: 07/31/2026, 19:30:18 UTC

Views: 120

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