CVE-2026-142224: DBHub 1.1.0 before 1.6.1 Validation Bypass via explain_sql ANALYSE Keyword
DBHub 1.1.0 before 1.6.1 contains a validation bypass in the explainsql tool that allows MCP clients to execute statements instead of only planning them. Attackers can submit ANALYSE SELECT or (ANALYSE) SELECT input to run arbitrary read-only queries and functions like pgsleep against PostgreSQL sources.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Bytebase DBHub versions 1.1.0 through versions before 1.6.1 are affected when MCP clients can use the explain_sql tool against PostgreSQL sources.
What access does an attacker need?
The attacker needs MCP client access sufficient to submit input to explain_sql. No user interaction is required.
What can exploitation do?
An attacker can cause statements to run rather than only be planned, including arbitrary read-only PostgreSQL queries and functions such as pg_sleep. The stated impact is limited to availability; no confidentiality or integrity impact is listed.