CVE-2026-49952
Deferred Deferred - Pending Action
BaseFortify

Publication date: 2026-06-15

Last updated on: 2026-06-15

Assigner: VulnCheck

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-15
Last Modified
2026-06-15
Generated
2026-06-16
AI Q&A
2026-06-15
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
discuz! x5.0 From 2026-03-20 (inc) to 2026-05-01 (inc)
discuz! x5.0 to 2026-05-10 (inc)
discuz discuz From 20260320 (inc) to 20260501 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-323 Nonces should be used for the present occasion and only once.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

CVE-2026-49952 is an authentication bypass vulnerability in Discuz! X5.0 versions released between March 20, 2026, and May 1, 2026. It arises because a cryptographic key (UC_KEY) is shared between unrelated components, specifically the UCenter integration and the database backup API exposed by dbbak.php. This shared key allows attackers to reuse tokens across different contexts, breaking cryptographic isolation.

An unauthenticated remote attacker can inject a crafted payload through the username parameter during login. This payload is encrypted using the shared key, producing a legitimately signed token that bypasses authorization checks for database export and import operations. Additionally, the attacker can trigger a race condition to impersonate arbitrary users.

Impact Analysis

This vulnerability allows unauthenticated remote attackers to gain unauthorized access to critical database backup and restore functions. Attackers can export and import the database without proper authorization, potentially leading to data theft, data manipulation, or service disruption.

Moreover, by exploiting a race condition, attackers can impersonate arbitrary users, which may lead to privilege escalation or further unauthorized actions within the system.

When combined with other vulnerabilities, such as those enabling remote code execution, this flaw can lead to full system compromise.

Detection Guidance

This vulnerability can be detected by monitoring for unauthorized access attempts to the database backup and restore functionality exposed by dbbak.php in Discuz!X5.0 versions released between 20260320 and 20260501.

Specifically, detection involves looking for unusual login attempts where the username parameter contains crafted payloads that exploit the encryption oracle in logging_ctl::logging_more().

Network or system administrators can check web server logs for requests to /api/db/dbbak.php and login requests with suspicious or malformed username parameters.

While no explicit commands are provided in the resources, administrators can use tools like grep or log analysis utilities to search for such patterns, for example:

  • grep 'dbbak.php' /var/log/httpd/access_log
  • grep 'username=' /var/log/httpd/access_log | grep -E 'payload_pattern'

Additionally, monitoring for unexpected database export or import operations can help detect exploitation attempts.

Mitigation Strategies

The immediate mitigation step is to upgrade Discuz!X5.0 to version 20260510 or later, where the vulnerability has been patched.

Until the upgrade can be applied, restrict access to the /api/db/dbbak.php endpoint to trusted users or internal networks only.

Additionally, review and change the global authkey setting in the /config/config_ucenter.php file to ensure cryptographic isolation between components.

Monitoring and logging access to database backup and restore functions should be enhanced to detect any suspicious activity.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-49952. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart