CVE-2026-61742bytebase dbhub
Unauthenticated MCP endpoint in DBHub via DNS rebinding
Critical 9.3 No auth needed
Follow: this CVE · bytebase · bytebase dbhub We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 4.0
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Sep 24, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
DBHub versions prior to 0.22.5 expose an unauthenticated HTTP MCP endpoint when started in HTTP transport mode. An attacker can perform DNS rebinding to bypass origin validation and execute MCP tools from a victim's browser, enabling read, enumeration, and potential write access to configured databases.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 0.22.5
Update DBHub to version 0.22.5 or later. If immediate update is not possible, avoid exposing the HTTP endpoint in HTTP transport mode on untrusted networks.
- Apply the vendor's security update for dbhub.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @bytebase/dbhub |
< 0.22.5 |
0.22.5 |
npm install @bytebase/dbhub@0.22.5 |
Per OSV / GitHub Advisories (GHSA-fm8p-53ww-hf6w). Check the version in your lockfile before upgrading.
Affected products
- bytebase · dbhub
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.