CVE-2026-49952
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.
Weakness
- CWE-323: Reusing a Nonce, Key Pair in Encryption
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2026-06-15 |
Timeline
- 2026-06-15Published by the CNA18:43 UTC
- 2026-06-15CISA SSVC decision recordedsame day
- 2026-07-07First Exploit-DB entry (EDB-ID 52621)22 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 52621 | webapps | multiple | 2026-07-07 | no |
Nuclei templates:
- CVE-2026-49952: Discuz! X5.0 - Authentication Bypass
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| discuz! x5.0 | from 20260320 through 20260501no fix listed | not listed |
| discuz discuzx |
References
- https://gitee.com/Discuz/DiscuzX/commit/9962dad52c4c6999dabaf91ecd70377c680ff3c6
- https://karmainsecurity.com/chaining-bugs-in-discuz-from-race-condition-to-rce
- http://seclists.org/fulldisclosure/2026/Jun/3
- https://karmainsecurity.com/KIS-2026-09
- https://www.vulncheck.com/advisories/discuz-x5-0-authentication-bypass-via-dbbak-php-encryption-oracle
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-49952'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-49952'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-49952'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-49952'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).