Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.6
CVE-2026-134803: DBHub before 1.7.0 allows write commands in read‑only mode
CVE-2026-134803 · published 10 days ago
Summary
The DBHub tool versions older than 1.7.0 can be tricked into treating read‑only connections as if they could change data. An attacker could use specially crafted input to run commands that delete or modify information in MySQL, MariaDB, or PostgreSQL databases. Upgrade DBHub to version 1.7.0 or later to close the gap.
What to do
- Update bytebase dbhub to version 1.7.0 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| bytebase | dbhub | < 1.7.0 |
Original advisory text
DBHub before 1.7.0 Read-Only Mode Bypass via Backslash-Escaped Quotes
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.
References
- https://github.com/bytebase/dbhub/commit/cc9e3c7ad36b9fafd333a08d455781f2c5b548e... Patch
- https://github.com/bytebase/dbhub/pull/505 Patch
- https://github.com/bytebase/dbhub/releases/tag/v1.7.0 Vendor Advisory
- https://github.com/bytebase/dbhub/blob/v1.6.1/src/utils/sql-parser.ts#L79-L88 Third Party Advisory
- https://www.vulncheck.com/advisories/dbhub-before-1.7.0-read-only-mode-bypass-vi... Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-1348... Vendor Advisory
- https://github.com/bytebase/dbhub Product
- https://nvd.nist.gov/vuln/detail/CVE-2026-134803 Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Severity
8.6
High
Type
CWE-436Interpretation Conflict
Timeline
Published22 Nov 2026
Updated3 Dec 2026
First seen22 Nov 2026
Track software like this
Free during beta