DBHub is a database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite.
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 subseq
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Bytebase
- Product
- dbhub
- CVSS v4.0
- 6.1 AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/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
- Fix
- available
- Weakness
- CWE-436, CWE-863
- Exposure class
- Database, AI infrastructure
- NVD status
- Deferred
Why it ranks 19 (Routine)
- CVSS v4.0 6.1 medium
- Product class: database, AI infrastructure
- Widely deployed vendor product (Bytebase)
- Fix available
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.
Links
- NIST National Vulnerability Database (CVE API 2.0) (nvd.nist.gov)
- CVE-2026-61789 on this site · NVD · CVE.org · Vulnpedia