Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure victim to malicious site
-
DeliveryDNS-rebind hostname to DBHub host
-
ExploitBrowser sends request with matching Origin/Host
-
ExecutionOrigin==Host check bypassed
-
PersistDBHub dispatches MCP tool calls
-
ImpactRead/write configured database contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires DBHub started in the non-default HTTP transport mode ( |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H, 9.3) presents this as a critical unauthenticated remote flaw, but the real-world risk is meaningfully lower and hinges on non-default deployment. Exploitation requires DBHub to be started in the documented but NON-default HTTP transport mode ( |
| Exploit ScenarioDerived | An operator runs DBHub with |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 24, 2026
Unauthenticated MCP tool invocation in DBHub versions prior to 0.22.5 allows a malicious website to reach the HTTP transport endpoint and dispatch database tool calls against connected Postgres, MySQL, SQL Server, Oracle, MariaDB, or SQLite databases, because the server's Origin-equals-Host check is defeated by DNS rebinding. The flaw applies only when DBHub is launched in the non-default HTTP transport mode (for example --transport http --port 8080); the default stdio transport is unaffected, and exploitation requires a victim's browser to load attacker-controlled content and successfully complete the rebind window, per the independent assessment. No public exploit has been identified at time of analysis, and while the CVSS 4.0 vector scores 9.3, the assessed real-world severity is lower (CVSS 3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L), with impact bounded by DBHub's configured tool permissions and database credentials - read-only configurations limit exposure to disclosure.
RemediationAI
Upgrade DBHub to 0.22.5, the vendor-released patch that fixes the unauthenticated HTTP MCP endpoint exposure; details are in the advisory at https://github.com/bytebase/dbhub/security/advisories/GHSA-fm8p-53ww-hf6w. If immediate upgrade is not possible, the most effective mitigation is to stop using HTTP transport and revert to the default stdio transport, which is not exposed to the network and removes the attack surface entirely. When HTTP transport is operationally required, bind the listener to loopback (127.0.0.1) rather than a routable interface so a rebinding browser cannot reach it, or place the endpoint behind an authenticating reverse proxy and restrict access to trusted client hosts - each of these adds a real authentication or network boundary but requires configuration changes to existing deployments and may break remote MCP clients. Additionally, reduce the blast radius by configuring DBHub with a read-only database account and disabling write-capable MCP tools, which limits the primitive to disclosure rather than modification even if the origin check is defeated; note that read-only tooling constrains legitimate AI workflows that need to mutate data.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
DBHub is a Model Context Protocol (MCP) server from Bytebase that exposes database operations as MCP tools to AI clients across Postgres, MySQL, SQL Server, Oracle, MariaDB, and SQLite (CPE cpe:2.3:a:bytebase:dbhub). When run with the documented HTTP transport mode, DBHub starts an HTTP MCP endpoint that performs no authentication of its own; instead it attempts to gate browser-origin access by comparing the request's Origin hostname to the Host hostname and reflecting the validated Origin into Access-Control-Allow-Origin. This control fails against DNS rebinding: once an attacker-controlled hostname is rebound to the victim-accessible DBHub server, both Origin and Host carry the attacker's hostname, so the equality check passes and the request is accepted and dispatched to MCP tool handlers. CWE-306 (Missing Authentication for Critical Function) describes the root cause - a critical function (MCP tool invocation) is reachable without any credential, and the only gate is an origin check that is not a security boundary. Consequence is bounded by DBHub's tool permission configuration and the privileges of the configured database credentials, so a read-only tool set yields disclosure while a write-capable set permits modification.
Know when Dbhub gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
DNS rebinding adds complexity (AC:H) and requires the victim to load attacker content (UI:R); no auth on the exposed endpoint (PR:N); DB read/write yields C:H/I:H, availability limited (A:L).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
DBHub is a database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite. Versions prior to 0.22.5 expose an unauthenticated HTTP MCP endpoint when started with the documented HTTP transport mode, for example --transport http --port 8080. The HTTP server attempts to protect browser-origin access by checking whether the Origin hostname equals the Host hostname, then reflecting the validated Origin into Access-Control-Allow-Origin. This does not stop DNS rebinding. After an attacker-controlled hostname rebinds to a victim-accessible DBHub HTTP server, both Origin and Host can contain the attacker-controlled hostname, so DBHub accepts the request and dispatches MCP tool calls. As a result, a malicious website can deterministically invoke DBHub MCP tools from the victim's browser without prompt injection or model involvement. With the default demo configuration this can read and write the demo SQLite database; with a real configured database, the same primitive can read, enumerate, and potentially write database contents depending on DBHub's configured tool permissions and database credentials. Version 0.22.5 fixes the issue.
Articles & Coverage 2
Technical POC Analysis
CWE-306 Missing Authentication for Critical Function, with CWE-346 Origin Validation Error.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 public PoC link from github
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
DBHub, a database MCP tool, can expose connected Postgres, MySQL, SQL Server, Oracle, MariaDB, or SQLite databases to unauthorized tool calls when deployed in non-default HTTP transport mode, potentially allowing data disclosure or modification. This affects organizations running DBHub versions prior to 0.22.5 with HTTP transport enabled, particularly where the endpoint is reachable from browser networks. Leadership should care because a successful attack could compromise sensitive database contents and integrity, though exploitation requires user interaction and no public exploit identified at time of analysis.
No vendor-released patch identified at time of analysis. Interim mitigations: use the default stdio transport instead of HTTP; if HTTP transport is required, restrict access to trusted networks, disable browser-accessible exposure, enforce read-only DB credentials and least-privilege tool permissions, and monitor for anomalous DB tool invocations.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
EUVD-2026-86320
GHSA-fm8p-53ww-hf6w
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB