← VULNERABILITIES

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

EcosystemPackageRangeFixed
vendorDBHub>=0, <1.7.01.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

JSON