AploSec / Disclosures / CVE-2026-142224

Medium 5.3ReportedFixed in 1.6.1CWE-184npm

DBHub 1.1.0 before 1.6.1 Validation Bypass via explain_sql ANALYSE Keyword

CVE-2026-142224 · published 2026-12-02

In plain words: this type of bug lets two parts of a system read the same input differently, so a check can be slipped past (parsing mismatch). A fixed release is listed.

Summary

CVE-2026-142224 affects DBHub (npm) >= 1.1.0, < 1.6.1: Validation Bypass via explain_sql ANALYSE Keyword (CWE-184). Fixed in 1.6.1. CVSS 4.0 base score 5.3 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

Upgrade DBHub to 1.6.1 or later. Releases in the affected range (>= 1.1.0, < 1.6.1) are vulnerable. See the linked advisory for details on affected release lines.

Timeline

  • 2026-12-02 CVE published

References

Severity
Medium 5.3CVSS 4.0, scored by VulnCheck in the CVE record
Package
DBHub
Ecosystem
npm
Affected
>= 1.1.0, < 1.6.1
Fixed
1.6.1
Weakness
CWE-184
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder