CVE-2026-134803 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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Bytebase
DBHub
영향 받는 버전
- 1.7.0 미만
해결 버전
- 1.7.0 이상
참고 자료 5건
- github.com https://github.com/bytebase/dbhub/blob/v1.6.1/src/utils/sql-parser.ts#L79-L88 (새 창)
- github.com https://github.com/bytebase/dbhub/commit/cc9e3c7ad36b9fafd333a08d455781f2c5b548ee (새 창)
- github.com https://github.com/bytebase/dbhub/pull/505 (새 창)
- github.com https://github.com/bytebase/dbhub/releases/tag/v1.7.0 (새 창)
- vulncheck.com https://www.vulncheck.com/advisories/dbhub-before-1.7.0-read-only-mode-bypass-via-backslash-escaped-quotes (새 창)