All vulnerabilities

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.

From the CVE Program.

Affected software

SoftwareAffected versions
@bytebase/dbhubnpm · osv:npm:@bytebase/dbhub
  • From 1.1.0 before 1.6.1

About @bytebase/dbhub

Weekly downloads (npm)
150,632npm, 1 Dec 2026

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142224