Skip to content

An editorial team and a community building with AI

← All articles

News · Bytebase · 2 min read

Event date: · Published:

Bytebase DBHub flaw lets AI agents bypass Read Only Mode, CVE-2026-133964

A disclosed vulnerability in Bytebase's open source DBHub MCP server lets a crafted tool call argument bypass Read Only Mode, the safeguard meant to stop AI coding agents from writing to connected databases, and no patched version exists yet.

GitHub Security Advisories published a report on November 21, 2026 describing a vulnerability in Bytebase's DBHub, an open-source MCP server that lets AI coding agents connect to live databases. The flaw, detailed in GitHub's advisory for CVE-2026-133964, lets a crafted tool-call argument bypass DBHub's Read Only Mode, the safeguard meant to stop an AI agent from issuing writes, DDL or destructive statements against a connected database.

What changed in DBHub's Read Only Mode

  • DBHub is a zero-dependency, open-source MCP server from Bytebase that connects clients such as Claude Desktop, Claude Code and Cursor to MySQL, PostgreSQL, SQL Server, MariaDB and SQLite.
  • The vulnerability is tracked as CVE-2026-133964 and GHSA-rw92-593f-m8wr, and lives in the escapeHatchFunctionKeywords function inside DBHub's Read Only Mode component.
  • GitHub's advisory describes the bug as manipulation of the argument tool leading to an incomplete blacklist, classified under CWE-183, Permissive List of Allowed Inputs.
  • The CVSS v4.0 score is 5.3, rated Moderate severity, with a network-based attack vector, low complexity, low required privileges and no user interaction needed.
  • Affected versions run up to and including DBHub 2.0.0, and the advisory lists no patched version.

Why it matters for AI builders

Anyone who connects an AI coding agent to a production or staging database through MCP depends on Read Only Mode as the one hard boundary stopping that agent from writing or deleting data. Because the keyword blacklist behind that boundary is incomplete, a crafted tool call can cross it, so the safeguard can no longer be treated as reliable on its own.

No fix available yet

The advisory states that the vendor did not respond to early disclosure notifications, and no patched version of DBHub is listed. Teams running DBHub against real databases should weigh that gap before relying on Read Only Mode as their only protection.


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 DBHub flaw lets AI agents bypass Read Only Mode, CVE-2026-133964 | vibecoding.inc