Skip to content

An editorial team and a community building with AI

← All articles

News · Bytebase (DBHub) / GitHub Security Advisories · 2 min read

Event date: · Published:

Bytebase patches second DBHub read-only bypass within 48 hours

A new high-severity flaw, CVE-2026-134803, let read-only MCP clients smuggle write statements past DBHub's guardrail. It is the second such bypass in two days, fixed in version 1.7.0.

GitHub Security Advisories disclosed a new high-severity vulnerability in Bytebase's DBHub MCP server on November 23, 2026, in the advisory GHSA-p6h8-6r97-q9rf. DBHub gives AI agents SQL access to Postgres, MySQL, SQL Server, Oracle, MariaDB and SQLite, and this flaw lets clients restricted to read-only queries smuggle hidden write statements past the read-only guardrail.

What changed

  • The flaw is tracked as CVE-2026-134803, and GitHub rates it High severity with a CVSS v3.1 score of 8.1.
  • It affects @bytebase/dbhub versions before 1.7.0 and is fixed in version 1.7.0.
  • The root cause is in DBHub's scanSingleQuotedString parser, which mishandles backslash-escaped quotes.
  • Attackers can hide stacked SQL statements inside strings the parser misreads, letting them clear the transaction_read_only flag or issue a COMMIT.
  • That allows MCP clients restricted to read-only execute_sql access to run write or DDL statements, including DROP TABLE, against MySQL, MariaDB or PostgreSQL.

What it means for people who build with AI

Teams that rely on DBHub's read-only mode as a safety guardrail for AI database agents should treat that control as unreliable until they upgrade to version 1.7.0. An MCP client that is supposed to be limited to read-only execute_sql access could instead be tricked into running write or DDL statements, including DROP TABLE, against a MySQL, MariaDB or PostgreSQL database.

A second bypass within 48 hours

This advisory is separate from the DBHub read-only bypass disclosed on November 21, 2026, tracked as CVE-2026-133964 under GHSA-rw92-593f-m8wr. Together, the two disclosures mark a second read-only-bypass flaw found in the same MCP server within 48 hours.


Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

Bytebase patches second DBHub read-only bypass within 48 hours | vibecoding.inc