{"id":"CVE-2026-61742","title":"DBHub is a database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite","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 …","severity":"critical","cvss":9.3,"cvssVector":"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","cwe":["CWE-306","CWE-346"],"vendor":"bytebase","product":"dbhub","affected":["dbhub < 0.22.5"],"published":"2026-09-24","updated":"2026-09-24","sourceUpdated":"2026-09-24T18:17:16.173","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-61742","references":[{"url":"https://github.com/bytebase/dbhub/security/advisories/GHSA-fm8p-53ww-hf6w","label":"security-advisories@github.com"},{"url":"https://github.com/bytebase/dbhub/security/advisories/GHSA-fm8p-53ww-hf6w","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61742"},{"url":"https://github.com/bytebase/dbhub/pull/340"},{"url":"https://github.com/bytebase/dbhub/commit/5bf5c3242a22e94871dfdf53913c84a5025b7381"},{"url":"https://github.com/bytebase/dbhub/releases/tag/v0.22.6"},{"url":"https://github.com/advisories/GHSA-fm8p-53ww-hf6w"}],"tags":["nvd","cve.org","exploit-available","ghsa","npm"],"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-09-24T17:42:02.587147Z"},"cvssSource":"cna","ingestedAt":"2026-09-24T17:48:30.401Z","aliases":["GHSA-fm8p-53ww-hf6w"],"ecosystem":"npm","patched":["@bytebase/dbhub 0.22.5"],"slug":"CVE-2026-61742","body":"## Overview\n\nDBHub 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-61742)\n\nAffected packages:\n\n- `@bytebase/dbhub <= 0.22.4`\n\nPatched in:\n\n- `@bytebase/dbhub 0.22.5`\n\nSource: https://github.com/advisories/GHSA-fm8p-53ww-hf6w","depth":"abyssal","depthScore":63,"depthScoreParts":{"impact":51.2,"likelihood":0,"exploitation":12,"ransomware":0},"changes":[{"seq":210324,"id":"CVE-2026-61742","ts":1790275818038,"field":"exploit_available","old":"false","new":"true"}]}