Discuz! X5.0
Discuz! X5.0 Authentication Bypass via dbbak.php Encryption Oracle
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 20260320, <= 20260501
Mitigation
The record names no fix. Check the vendor advisory below.
References
Timeline
Days relative to CVE publicationFirst public PoC 21 days after publication; not in CISA KEV. First PoC: Discuz! X5.0 - Authentication Bypass (Exploit-DB, 7 Jul 2026).
PoC repositories
Found on GitHub.1 pending · 1 informational
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| passwa11/CVE-2026-49952 | 17 Jun 2026 +1.6 d | 3 | Pending · repository exceeds size limit via PoC Index |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| CerberusMrXi/Discuz-X5.0-Authentication-Bypass-Exploit-Framework | 24 Jul 2026 +39 d | 1 | Informational · detection |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | https://karmainsecurity.com/chaining-bugs-in-discuz-from-race-condition-to-rce | unknown | 14 Nov 2026 |
| Exploit-DB | Discuz! X5.0 - Authentication Bypass | 7 Jul 2026 | 14 Nov 2026 |
| nuclei template | nuclei template: Discuz! X5.0 - Authentication Bypass | 28 Jul 2026 | 14 Nov 2026 |