CVE-2026-134803

DBHub before 1.7.0 Read-Only Mode Bypass via Backslash-Escaped Quotes

High published · updated

7.2
CVSS score out of 10 · NVD (vulncheck.com)

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 / packageEcosystem / vendorVersionsFixed inSource
dbhub bytebase 0 → <1.7.01.7.0 CVE.org

References