Description
Discuz! X5.0 releases 20260320 through 20260501 contains an authentication bypass vulnerability that allows unauthenticated remote attackers to gain unauthorized access to database backup and restore functionality by exploiting a shared cryptographic key between UCenter integration and the database backup API exposed by dbbak.php. Attackers can inject a crafted payload through the username parameter during login to abuse the encryption oracle in logging_ctl::logging_more(), obtain a legitimately signed token, and use it to bypass authorization for database export and import operations, with the additional ability to trigger a race condition to impersonate arbitrary users.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Discuz! | Discuz! X5.0 | 20260320 – ≤ 20260501 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Discuz! X5.0 - Authentication Bypass EDB-52621 · webapps · Jul 7, 2026
GitHub 2 repositories
-
passwa11/CVE-2026-49952 ★ 3 · Jun 17, 2026
Chaining Security Bugs in Discuz! X5.0: from Race Condition to Pre-Auth RCE
-
CerberusMrXi/Discuz-X5.0-Authentication-Bypass-Exploit-Framework ★ 1 · Jul 24, 2026
Discuz! X5.0 Authentication Bypass Exploit Framework (CVE-2026-49952) - Critical vulnerability allowing unauthenticated database backup access via UC_KEY encryption oracle token reuse. CVSS 9.1. Full…
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Discuz! X5.0 - Authentication Bypass http/cves/2026/CVE-2026-49952.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- https://karmainsecurity.com/KIS-2026-09 technical-description
- https://karmainsecurity.com/chaining-bugs-in-discuz-from-race-condition-to-rce exploit
- https://gitee.com/Discuz/DiscuzX/commit/9962dad52c4c6999dabaf91ecd70377c680ff3c6 patch
- https://www.vulncheck.com/advisories/discuz-x5-0-authentication-bypass-via-dbbak-php-encryption-oracle third-party-advisory