AploSec / Disclosures / CVE-2026-134803
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
- Releasehttps://github.com/bytebase/dbhub/releases/tag/v1.7.0
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/dbhub-before-1.7.0-read-only-mode-bypass-via-backslash-escaped-quotes
- Fix pull requesthttps://github.com/bytebase/dbhub/pull/505
- Fix commithttps://github.com/bytebase/dbhub/commit/cc9e3c7ad36b9fafd333a08d455781f2c5b548ee
- Vulnerable codehttps://github.com/bytebase/dbhub/blob/v1.6.1/src/utils/sql-parser.ts#L79-L88
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-134803
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-134803
- 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