CVE-2026-61742 json
DBHub HTTP transport DNS rebinding allows unauthenticated browser-origin SQL execution
published 2026-09-24 45 d ago modified 2026-09-30 39 d ago also GHSA-fm8p-53ww-hf6w , EUVD-2026-86320
- cvss
- 9.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 10%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @bytebase/dbhub 0.22.5
- github.com/bytebase/dbhub@5bf5c32 commit
- github.com/bytebase/dbhub#340 pull request
- github.com/bytebase/dbhub/releases/tag/v0.22.6 release
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 45 d ago
Exploit prediction
0.20% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/bytebase/dbhub/security/advisories/GHSA-fm8p-53ww-hf6w referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.3 | 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 |
| CNA | 4.0 | 9.3 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @bytebase/dbhub | <0.22.5 |
0.22.5 |
Affected products
- bytebase dbhub
Classification
References
-
github.com
/bytebase/dbhub/pull/340
web
-
github.com
/bytebase/dbhub/commit/5bf5c3242a22e94871dfdf53913c84a5025b7381
web
-
github.com
/bytebase/dbhub/security/advisories/GHSA-fm8p-53ww-hf6w
exploit, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-61742
advisory
-
github.com
/bytebase/dbhub
package
-
github.com
/bytebase/dbhub/releases/tag/v0.22.6
web
Sources
- CVE List CVE-2026-61742
- GitHub Advisory GHSA-fm8p-53ww-hf6w
- NVD CVE-2026-61742
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.