CVE-2026-49954: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in Discuz! Discuz! X5.0
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.
AI Analysis
Technical Summary
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.
CVE-2026-49954: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in Discuz! 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
Affected software
pkg:github/discuz/discuz-x5.0Run 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.