CVE-2026-134803
DBHub before 1.7.0 Read-Only Mode Bypass via Backslash-Escaped Quotes
High · 7.2Fix available
- CVSS
- 7.2
- EPSS
- 0.62% (p44)
- Published
- 2026-11-22
- Age
- 7d old
- Modified
- 2026-11-24
- Product
- Bytebase DBHub
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Description
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.
Fixed in
1.7.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | DBHub | >=0, <1.7.0 | 1.7.0 |
Sources
- NVD · first seen 7d ago · NVD terms of use
- OSV · first seen 7d ago · CC-BY 4.0
- CVE List · first seen 7d ago · CVE Terms of Use
References
- https://github.com/bytebase/dbhub/commit/cc9e3c7ad36b9fafd333a08d455781f2c5b548ee patch
- https://github.com/bytebase/dbhub/pull/505 patch
- https://github.com/bytebase/dbhub/releases/tag/v1.7.0 release-notes
- https://github.com/bytebase/dbhub/blob/v1.6.1/src/utils/sql-parser.ts#L79-L88 technical-description
- https://www.vulncheck.com/advisories/dbhub-before-1.7.0-read-only-mode-bypass-via-backslash-escaped-quotes third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134803.json advisory
- https://github.com/bytebase/dbhub package
- https://nvd.nist.gov/vuln/detail/CVE-2026-134803 advisory