CVE-2026-134803: DBHub before 1.7.0 Read-Only Mode Bypass via Backslash-Escaped Quotes
DBHub before 1.7.0 contains a read-only mode bypass vulnerability that allows MCP clients restricted to readonly executesql to run write and DDL statements via backslash-escaped quotes. Attackers can hide stacked statements that clear transactionreadonly or COMMIT inside strings misparsed by scanSingleQuotedString, letting them modify or drop MySQL, MariaDB, or PostgreSQL data.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.7.0