Unrated severityNVD Advisory· Published Dec 2, 2026
DBHub 1.1.0 before 1.6.1 Validation Bypass via explain_sql ANALYSE Keyword
CVE-2026-142224
Description
DBHub 1.1.0 before 1.6.1 contains a validation bypass in the explain_sql 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 pg_sleep against PostgreSQL sources.
Patches
Vulnerability mechanics
References
5- github.com/bytebase/dbhub/commit/87c6fc565a1ab17906bea8314862f871206e9c8cmitrepatch
- www.vulncheck.com/advisories/dbhub-1.1.0-before-1.6.1-validation-bypass-via-explain-sql-analyse-keywordmitrethird-party-advisory
- github.com/bytebase/dbhub/blob/0b2532b26da6e31a88d9533b6958b346bb735640/src/tools/explain-sql.tsmitretechnical-description
- github.com/bytebase/dbhub/issues/501mitreissue-tracking
- github.com/bytebase/dbhub/releases/tag/v1.6.1mitrerelease-notes
News mentions
0No linked articles in our index yet.