Home / bytebase / dbhub / CVE-2026-61789
CVE-2026-61789: is it exploited, and which versions of bytebase dbhub are affected and fixed?
CVE-2026-61789 is an interpretation Conflict vulnerability in bytebase dbhub. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: dbhub < 0.22.6 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.1, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-61789?
DBHub: MySQL and MariaDB comment interpretation bypasses read-only SQL validation
DBHub is a database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite. Prior to 0.22.6, read-only SQL validation can be bypassed on the MySQL and MariaDB connectors. In `src/utils/sql-parser.ts`, `scanSingleLineComment` treats every double dash as a comment start, whereas MySQL and MariaDB require following whitespace, a control character, or the end of the line. The read-only check in `src/tools/execute-sql.ts` validates split statements with `isReadOnlySQL`, but `src/connectors/mysql/index.ts` and `src/connectors/mariadb/index.ts` execute the original string with `multipleStatements` enabled. A double dash followed by a non-whitespace character can therefore hide a subsequent write or destructive DDL statement from the validator while the database interprets the dashes as minus operators and executes both statements. Anyone able to influence the assistant's SQL, including through prompt injection in content the assistant reads, can bypass read-only mode to modify or drop database data, subject to the database account's privileges. PostgreSQL is not affected by this path because its double-dash parsing agrees with the checker and its connector executes individual split statements. This issue is fixed in version 0.22.6.
From the CVE record by GitHub_M, last updated November 6, 2026, 16:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| bytebase | dbhub | < 0.22.6 |
As the CVE record by GitHub_M states it, last updated November 6, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-61789?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-61789 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, November 6, 2026)
- EPSS
- 0.47% probability of exploitation activity in the next 30 days, percentile 42.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/bytebase/dbhub/security/advisories/GHSA-j656-3hf2-fvjc x_refsource_CONFIRM
- https://github.com/bytebase/dbhub/pull/342 x_refsource_MISC
- https://github.com/bytebase/dbhub/commit/872bb338f7d31f6afe517a076ac3e3edafaaaf08 x_refsource_MISC
- https://github.com/bytebase/dbhub/releases/tag/v0.22.6 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- July 10, 2026
- Published
- October 30, 2026, 16:08 UTC
- CVE record updated
- November 6, 2026, 16:25 UTC by GitHub_M
- NVD
- Deferred, last modified November 6, 2026, 17:18 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect dbhub?
- Dec 2, 2026CVE-2026-142224 Bytebase DBHub: incomplete List of Disallowed Inputs
- Dec 2, 2026CVE-2026-142225 Bytebase DBHub: regular expression denial of service (ReDoS)
- Nov 24, 2026CVE-2026-136441 Bytebase DBHub: incorrect authorization
- Nov 22, 2026CVE-2026-134803 Bytebase DBHub: interpretation Conflict
- Nov 21, 2026CVE-2026-133964 Bytebase DBHub: incomplete List of Disallowed Inputs
- Sep 24, 2026CVE-2026-61788 bytebase dbhub: incomplete List of Disallowed Inputs
- Sep 24, 2026CVE-2026-61742 bytebase dbhub: missing authentication for a critical function
Questions about CVE-2026-61789
Is CVE-2026-61789 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.47% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of bytebase dbhub are affected by CVE-2026-61789?
dbhub < 0.22.6, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2026-61789?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-61789?
Medium (6.1, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-61789?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.