← All advisories

CVE-2026-136441criticalBroken access control2026-11-24

CVE-2026-136441: Bytebase DBHub MCP server authentication bypass through untrusted SQL, published by ZDI as a 0-day with no fix listed

Trend Micro's Zero Day Initiative published ZDI-26-1067 on 24 November 2026 as a 0-day: an incorrect authorization decision when DBHub's MCP server parses untrusted SQL lets a remote attacker bypass authentication, with no authentication needed (CVSS 9.8). ZDI reported it to Bytebase on 18 July 2025 and published after getting no fix; the advisory names no affected or fixed version and says the only mitigation is to restrict interaction with the product. DBHub is Bytebase's database MCP server that lets an AI assistant run SQL against Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite and ClickHouse.

01.

What it is

ZDI-26-1067 (ZDI-CAN-27635, CWE-863): 'The specific flaw exists within the implementation of the MCP server. The issue results from an incorrect authorization decision when parsing untrusted SQL. An attacker can leverage this vulnerability to bypass authentication on the system.' Credit: Alfredo Oliveira and David Fiser of Trend Research.

Timeline per ZDI: reported 18 July 2025, follow-ups 29 October and 10 December 2025, 0-day notice to the vendor 9 November 2026, public 24 November 2026. ZDI lists no patch.

ZDI does not publish technical details or say whether this case overlaps with DBHub's own SQL-parser fixes for read-only mode (CVE-2026-61789, fixed 0.22.6; CVE-2026-134803, fixed 1.7.0). Treat current releases as possibly affected until Bytebase says otherwise.

Per ZDI the attacker is remote and needs no authentication; anything that can put SQL in front of the server, including an assistant steered by prompt injection, is a plausible path.

02.

How to check

  1. Find DBHub in your MCP client configs (Claude Desktop, Cursor, VS Code, Windsurf) and on servers (npx @bytebase/dbhub or the bytebase/dbhub Docker image), and note whether it runs over stdio or the HTTP transport.
  2. Check whether the HTTP transport is reachable from anything other than localhost, and which database account DBHub connects with.
03.

How to fix

  1. No fixed version is listed. Run the newest DBHub release and watch the bytebase/dbhub security advisories for a fix that references ZDI-26-1067 / CVE-2026-136441.
  2. Restrict interaction with the server, as ZDI advises: prefer stdio, never expose the HTTP transport beyond localhost, and put it behind your own authentication if it must be remote.
  3. Give DBHub a database account with only the privileges the assistant needs (a read-only role at the database level, not just DBHub's read-only mode), and keep production data out of reach of agents that read untrusted content.
grep -rn 'dbhub' ~/Library/Application\ Support/Claude/claude_desktop_config.json ~/.cursor/mcp.json .vscode/mcp.json 2>/dev/null
# is the HTTP transport listening on all interfaces?
(ss -ltnp 2>/dev/null || lsof -iTCP -sTCP:LISTEN) | grep -i -E 'dbhub|node'
04.

Sources

Related on VibeVulns
More advisories for this tool
The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.