CVE-2026-134803 PUBLISHED

DBHub before 1.7.0 Read-Only Mode Bypass via Backslash-Escaped Quotes

Assigner: VulnCheck
Reserved: 22.11.2026 Published: 22.11.2026 Updated: 22.11.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 7.2

Product Status

Vendor Bytebase
Product DBHub
Versions Default: unaffected
  • affected from 0 to 1.7.0 (excl.)

Credits

  • Zachariah Mithani (AploSec) finder

References

Problem Types

  • Interpretation Conflict CWE