{"id":"CVE-2026-134803","summary":"DBHub before 1.7.0 Read-Only Mode Bypass via Backslash-Escaped Quotes","details":"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.","modified":"2026-11-22T23:00:18.571116131Z","published":"2026-11-22T21:22:33.360Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-436"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134803.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134803.json"},{"type":"PACKAGE","url":"https://github.com/bytebase/dbhub"},{"type":"ARTICLE","url":"https://github.com/bytebase/dbhub/blob/v1.6.1/src/utils/sql-parser.ts#L79-L88"},{"type":"FIX","url":"https://github.com/bytebase/dbhub/commit/cc9e3c7ad36b9fafd333a08d455781f2c5b548ee"},{"type":"FIX","url":"https://github.com/bytebase/dbhub/pull/505"},{"type":"ADVISORY","url":"https://github.com/bytebase/dbhub/releases/tag/v1.7.0"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134803"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/dbhub-before-1.7.0-read-only-mode-bypass-via-backslash-escaped-quotes"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bytebase/dbhub","events":[{"introduced":"0"},{"fixed":"44616a09ec9cef00625f01e8c993b602562fb4b1"},{"fixed":"cc9e3c7ad36b9fafd333a08d455781f2c5b548ee"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"1.7.0"}]},{"range":[{"fixed":"cc9e3c7ad36b9fafd333a08d455781f2c5b548ee"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"44616a09ec9cef00625f01e8c993b602562fb4b1"}],"source":"REFERENCES_TAG","original_tag":"v1.7.0"}]}}],"versions":["v1.6.1","v1.6.0","v1.5.1","v1.5.0","v1.4.0","v1.3.1","v1.3.0","v1.2.5","v1.2.4","v1.2.3","v1.2.2","v1.2.1","v1.2.0","v1.1.0","v1.0.0","v0.24.0","v0.23.0","v0.22.6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-134803.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}