CVE-2026-61742 Details
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.
A vulnerability in DBHub versions prior to 0.22.5 allows for unauthenticated access to an HTTP MCP endpoint via DNS rebinding. When DBHub is started with the HTTP transport mode, the server checks that the 'Origin' hostname matches the 'Host' hostname. However, this check does not prevent DNS rebinding attacks. An attacker can manipulate DNS to have a hostname resolve to the victim's DBHub server, making both the 'Origin' and 'Host' headers appear as the attacker-controlled hostname. This bypasses the origin validation and allows the attacker to invoke DBHub MCP tools from the victim's browser. In the default demo configuration, this could read and write to the demo SQLite database. In real-world scenarios, the impact would depend on the database and DBHub's tool permissions.
Users can update to DBHub version 0.22.5 or later, and bind the HTTP transport to '127.0.0.1' by default, requiring explicit opt-in for non-loopback hosts. Additionally, an allowed-hosts policy should be implemented to reject arbitrary 'Host' values, and an allowed-origins policy to prevent the reflection of arbitrary origins by default. It is also recommended to require an authentication token or similar capability before processing MCP requests over HTTP.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 24, 2026CISA-ADP
Assessed Sep 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/bytebase/dbhub/security/advisories/GHSA-fm8p-53ww-hf6w | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/bytebase/dbhub/security/advisories/GHSA-fm8p-53ww-hf6w | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
| CWE-346 | Origin Validation Error | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Bytebase DBHub | <= 0.22.4 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 24, 2026 | New CVE Received | [email protected] |
| Sep 24, 2026 | CVE Modified | CISA-ADP |
Volerion