Summary
An incorrect authorization flaw (CWE-863) exists in the MCP server implementation of Bytebase DBHub. When parsing untrusted SQL, the server makes an incorrect authorization decision, allowing an attacker to bypass authentication. The affected version listed is revision 16e870ba4cb067c90a8650c30ffb0ff8f381e7d0.
Per the CVSS vector (score 9.8, critical), the attack is network-based, low complexity, and requires no authentication or user interaction. Successful exploitation can have high impact on confidentiality, integrity and availability of the system and connected databases.
The vulnerability is not listed in the CISA KEV catalog. The EPSS exploitation probability is about 1.1% (65th percentile). It was disclosed via ZDI (ZDI-26-1067, ZDI-CAN-27635).
Who is affected
Organizations using Bytebase DBHub as an MCP server for database access, especially where it is network-reachable.
What to do
- No fixed version is listed in the record; check the official Bytebase announcement and ZDI advisory ZDI-26-1067, and apply a fix as soon as it is available.
- Determine whether your DBHub deployments run the affected revision 16e870ba4cb067c90a8650c30ffb0ff8f381e7d0 or older builds.
- Restrict network access to the DBHub MCP server (firewall, local or trusted clients only) and do not expose it to the internet.
- Use least-privilege database accounts for DBHub to limit the impact of potential abuse.
- Review database and MCP server logs for unusual SQL queries or access.
Affected products and versions
CVSS vector, explained
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-863 Incorrect Authorization
References
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.