NetSight
high7.2

CVE-2026-134803

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 vi…

Impact

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.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data or systems being changed, high risk of outages.

Affected products (Bytebase)

ProductAffected versions
DBHub
before 1.7.0

Weakness classification

References