npm
CVE-2026-142224
DBHub 1.1.0 before 1.6.1 Validation Bypass via explain_sql ANALYSE Keyword
- Severity
- Medium 5.3
- Published
- 2 Dec 2026
- Last changed
- 2 Dec 2026
- Added to UpHeron
- 2 Dec 2026
- Fixed in
- 1.6.1
- Weakness
- Incomplete deny list (CWE-184)
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Slow it down
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
@bytebase/dbhubnpm · osv:npm:@bytebase/dbhub |
|
About @bytebase/dbhub
- Weekly downloads (npm)
- 150,632npm, 1 Dec 2026
Vulnerabilities in @bytebase/dbhub
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 0
- High, last 12 months
- 2
- Known exploited
- 0
- CVE-2026-142225Bytebase DBHub through 2.1.0 ReDoS via search_objects LIKE PatternHigh 7.1 2 Dec 2026
- CVE-2026-134803DBHub before 1.7.0 Read-Only Mode Bypass via Backslash-Escaped QuotesHigh 7.2 22 Nov 2026
- CVE-2026-61789DBHub: MySQL and MariaDB comment interpretation bypasses read-only SQL validationMedium 2 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142224