# CVE-2026-61742: DBHub HTTP transport DNS rebinding allows unauthenticated browser-origin SQL execution

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-24T17:30:11.283Z
- Modified: 2026-09-30T17:32:07.107Z
- Also known as: GHSA-fm8p-53ww-hf6w
- Weaknesses: CWE-306, CWE-346
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- bytebase dbhub: < 0.22.5
- @bytebase/dbhub (npm): before 0.22.5

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `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`
- GitHub: CVSS:4.0 Critical `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`

## References

- <https://github.com/bytebase/dbhub/security/advisories/GHSA-fm8p-53ww-hf6w> (exploit, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-61742> (advisory)
- <https://github.com/bytebase/dbhub/pull/340> (web)
- <https://github.com/bytebase/dbhub/commit/5bf5c3242a22e94871dfdf53913c84a5025b7381> (web)
- <https://github.com/bytebase/dbhub> (package)
- <https://github.com/bytebase/dbhub/releases/tag/v0.22.6> (web)

## Sources

- CVE List: [CVE-2026-61742](https://www.cve.org/CVERecord?id=CVE-2026-61742), CVE Terms of Use, modified 2026-09-24
- GitHub Advisory Database: [GHSA-fm8p-53ww-hf6w](https://github.com/advisories/GHSA-fm8p-53ww-hf6w), CC-BY-4.0, modified 2026-09-24
- NVD: [CVE-2026-61742](https://nvd.nist.gov/vuln/detail/CVE-2026-61742), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-61742 · Whole record: https://cve.day/CVE-2026-61742.json · Rebuilt by cve.day 2026-11-25T22:59:40.881Z
