AploSec / Disclosures / CVE-2026-134803

High 7.2ReportedFixed in 1.7.0CWE-436npm

DBHub before 1.7.0 Read-Only Mode Bypass via Backslash-Escaped Quotes

CVE-2026-134803 · published 2026-11-22

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-134803 affects @bytebase/dbhub (npm) < 1.7.0: Read-Only Mode Bypass via Backslash-Escaped Quotes (CWE-436). Fixed in 1.7.0. CVSS 4.0 base score 7.2 (High), assigned by VulnCheck. Published 2026-11-22 by VulnCheck. Credit: Zachariah Mithani (AploSec).

DBHub before 1.7.0 contains a read-only mode bypass vulnerability that allows MCP clients restricted to readonly execute_sql to run write and DDL statements via backslash-escaped quotes. Attackers can hide stacked statements that clear transaction_read_only or COMMIT inside strings misparsed by scanSingleQuotedString, letting them modify or drop MySQL, MariaDB, or PostgreSQL data.

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 @bytebase/dbhub to 1.7.0 or later. Releases in the affected range (< 1.7.0) are vulnerable. See the linked advisory for details on affected release lines.

Timeline

  • 2026-11-22 CVE published

References

Severity
High 7.2CVSS 4.0, scored by VulnCheck in the CVE record
Package
@bytebase/dbhub
Ecosystem
npm
Affected
< 1.7.0
Fixed
1.7.0
Weakness
CWE-436
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder