CVE-2026-134803
DBHub before 1.7.0 Read-Only Mode Bypass via Backslash-Escaped Quotes
7.2
Description
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| dbhub | bytebase | 0 → <1.7.0 | 1.7.0 | CVE.org |