Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134803: high-severity vulnerability (CVSS 7.2) in Bytebase DBHub.
What happened
Original description from the source: DBHub before 1.7.0 contains a read-only mode bypass vulnerability that allows MCP clients restricted to readonly execute_sql to run write and DDL statements via backslash-escaped quotes. Attackers can hide stacked statements that clear transaction_read_only or COMMIT inside strings misparsed by scanSingleQuotedString, letting them modify or drop MySQL, MariaDB, or PostgreSQL data.
Why it matters
High severity, CVSS 7.2.
Affected products and versions
Bytebase DBHub < 1.7.0
| Product | Versions | Fixed in |
|---|---|---|
| Bytebase DBHub | < 1.7.0 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/bytebase/dbhub/commit/cc9e3c7ad36b9fafd333a08d455781f2c5b548ee — CVE Program
- https://github.com/bytebase/dbhub/pull/505 — CVE Program
- https://github.com/bytebase/dbhub/releases/tag/v1.7.0 — CVE Program
- https://github.com/bytebase/dbhub/blob/v1.6.1/src/utils/sql-parser.ts#L79-L88 — CVE Program
- https://www.vulncheck.com/advisories/dbhub-before-1.7.0-read-only-mode-bypass-via-backslash-escaped-quotes — CVE Program
Weaknesses (CWE): CWE-436
Relevant change history
Published
Preliminary advisory published.