# CVE-2026-142224: DBHub 1.1.0 before 1.6.1 Validation Bypass via explain_sql ANALYSE Keyword

Source: https://aplosec.si/cve/CVE-2026-142224/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-142224

Medium 5.3 · Reported · Fixed in 1.6.1 · CWE-184 · npm

# 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

- [Referencehttps://github.com/bytebase/dbhub/issues/501](https://github.com/bytebase/dbhub/issues/501)

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/dbhub-1.1.0-before-1.6.1-validation-bypass-via-explain-sql-analyse-keyword](https://www.vulncheck.com/advisories/dbhub-1.1.0-before-1.6.1-validation-bypass-via-explain-sql-analyse-keyword)

- [Vulnerable codehttps://github.com/bytebase/dbhub/blob/0b2532b26da6e31a88d9533b6958b346bb735640/src/tools/explain-sql.ts#L43-L70](https://github.com/bytebase/dbhub/blob/0b2532b26da6e31a88d9533b6958b346bb735640/src/tools/explain-sql.ts#L43-L70)

- [Fix commithttps://github.com/bytebase/dbhub/commit/87c6fc565a1ab17906bea8314862f871206e9c8c](https://github.com/bytebase/dbhub/commit/87c6fc565a1ab17906bea8314862f871206e9c8c)

- [Releasehttps://github.com/bytebase/dbhub/releases/tag/v1.6.1](https://github.com/bytebase/dbhub/releases/tag/v1.6.1)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142224](https://www.cve.org/CVERecord?id=CVE-2026-142224)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-142224](https://nvd.nist.gov/vuln/detail/CVE-2026-142224)

**Severity:** Medium 5.3 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-142224)

**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
