CVE-2026-61742: DBHub - DNS Rebinding
- Cve: CVE-2026-61742
- Name: DBHub - DNS Rebinding
- Description: 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.
- Impact: Attackers can read, enumerate, and potentially write database contents via victim's browser, leading to data disclosure and modification.
- Remediation: Update to version 0.22.5 or later.
- Vulnerability type: dns_rebinding
- Vulnerability impact: dns_rebinding, information_disclosure, data_tampering
- Requirement type: user_interaction
- Requirements: Victim must visit attacker-controlled website to trigger DNS rebinding
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.3
- Cvss 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
- Epss score: 0.00201
- Epss percentile: 0.09884
- Assignee: [email protected]
- Published at: 2026-09-24T18:17:16Z
- Age in days: 61
- Modified at: 2026-09-30T17:32:07Z
- References total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-61742
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-306 | Missing Authentication for Critical Functionality |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/bytebase/dbhub/security/advisories/GHSA-fm8p-53ww-hf6w | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| bytebase/dbhub | commit, fix, package, pull, releases, security_advisory | yes | /v1/repositories/bytebase/dbhub |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts