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.
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.
How to check
- 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.
- Check whether the HTTP transport is reachable from anything other than localhost, and which database account DBHub connects with.
How to fix
- 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.
- 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.
- 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' Sources
- highCVE-2026-134803: DBHub MCP server's read-only mode could be bypassed with backslash-escaped quotes, hiding SET transaction_read_only, COMMIT and DROP statements inside a string on MySQL, MariaDB and PostgreSQL (fixed 1.7.0)
- mediumCVE-2026-61789: DBHub MCP server's read-only mode can be bypassed on MySQL and MariaDB, upgrade to 0.22.6
- criticalCVE-2026-115555 and 28 more: IBM's Langflow bulletin fixes 29 flaws up to 1.13.0, including 9.9 code execution, MCP tool calls that run custom code without admin rights and an unauthenticated public-flow RCE, upgrade to 1.13.1
- criticalCVE-2026-76092 and CVE-2026-76099: Docker MCP Gateway served its MCP endpoints with no auth in container mode, and its dynamic tools could mount the Docker socket for root on the host (fixed 0.43.1)
- criticalCVE-2026-142487: Joinly's meeting-agent MCP server let any network client import and run subprocess.Popen through the joinly-settings header (fixed 0.5.4)
- criticalCVE-2026-76812 and more: CKAN MCP Server's unauthenticated HTTP mode let anyone bounce sparql_query to the cloud metadata service and read IAM credentials, plus a string of SSRF, injection and DoS fixes (upgrade to 0.4.147)