CVE-2026-134803
DBHub quoted-string parsing could bypass read-only SQL controls
Bytebase · DBHub · execute_sql and explain_sql
First documented disclosure · Review checkpoint
Summary
Backslash-escaped quotes could hide write statements from the MCP read-only check.
Severity and exploitation evidence
High · 7.2/10 · CVSS 4.0. Severity source.
Exploitation not established: The reviewed authority and original sources describe the weakness or controlled checks; malicious exploitation against users is not established.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
The SQL scanner and MySQL/MariaDB or PostgreSQL E-string parsing disagreed on string boundaries. Hidden statements could disable transaction restrictions or commit before a write.
Conditions required
A caller can submit SQL through an affected tool; the configured database account has privileges for the resulting operation.
Potential impact
Unauthorized writes or destructive DDL within database-account privileges.
Affected versions and configurations
Before 1.7.0 for the described MySQL, MariaDB and PostgreSQL E-string paths.
Fix and mitigation status
1.7.0, released November 16, includes PR 505. PostgreSQL plain strings with standard_conforming_strings=off remain outside this correction.
Practical next steps
Upgrade and enforce read-only database credentials. Keep PostgreSQL standard_conforming_strings enabled; do not rely on tool-level parsing alone.
Operating lesson
Match database grammar and use database-enforced privileges as a separate boundary.
Evidence and limits
Public issue 504 and PR 505 are November 12, preceding the CNA datePublic of November 16 and CVE publication November 22. The maintainer reports controlled tests against real database connectors; these are not observed intrusions. This is distinct from CVE-2026-61789 double-dash comment parsing. VulnCheck CVSS 4.0 7.2; its separate CVSS 3.1 score is 8.1.
Sources
- Original parser mismatch report and controlled tests
Primary source ·
- Parser correction and explicit residual setting
Primary source ·
- DBHub 1.7.0 release
Primary source ·
- VulnCheck exact CVE authority record
Primary source ·