Skip to main content

Dbhub

6 CVEs product

Monthly

CVE-2026-136441 Nov 24, 18:41 CRITICAL Act Now

Authentication bypass in Bytebase DBHub lets remote, unauthenticated attackers reach the MCP server without user interaction, because the server makes an incorrect authorization decision while parsing untrusted SQL (CWE-863). The CPE marks all DBHub versions as affected, and CVSS 3.1 scores the flaw 9.8 with high confidentiality, integrity, and availability impact; exploitation requires only network reachability to the MCP server. No public exploit was identified at time of analysis, but the act_now priority label and ZDI origin support urgent exposure review.

Authentication Bypass Bytebase Mcp Dbhub
NVD
CVSS 3.0
9.8
EPSS
1.1%
CVE-2026-134803 Nov 22, 21:22 HIGH PATCH This Week

Read-only mode bypass in DBHub 1.6.1 and earlier lets MCP clients that were granted read-only execute_sql access run write and DDL statements against MySQL, MariaDB, or PostgreSQL backends. The attacker hides stacked statements behind backslash-escaped quotes so DBHub's SQL classifier misses them, while the database engine executes them. Exploitation requires an existing authorized MCP client (PR:L) and no user interaction; no public exploit code was identified at time of analysis, and vendor patches are available in DBHub 1.7.0.

Authentication Bypass PostgreSQL MySQL MariaDB Bytebase +1
NVD GitHub
CVSS 4.0
7.2
EPSS
0.6%
CVE-2026-61788 Sep 24, 17:37 npm HIGH POC PATCH GHSA This Week

DBHub's `readonly = true` option on its `execute_sql` tool fails to enforce read-only database access in versions prior to 0.22.6, because the connector code that would set PostgreSQL `default_transaction_read_only=on` and open SQLite in read-only mode is gated on a configuration value that is never populated. With only a first-keyword classifier left as a guard, any `SELECT` that calls a side-effecting function passes, allowing sequence tampering with an ordinary role and, with a privileged PostgreSQL role, arbitrary host file write via `lo_export`, arbitrary host file read via `pg_read_file`, and remote code execution via `dblink` combined with `COPY ... TO PROGRAM`. The HTTP transport is unauthenticated (CVSS vector PR:N) and binds to `0.0.0.0` by default, so any network caller of `/mcp` can reach the vulnerable tool; CVSS is 7.4 (AV:N/AC:H) and no public exploit code has been identified at time of analysis, though the vendor-released patch 0.22.6 resolves the issue.

RCE PostgreSQL Oracle Bytebase Dbhub
NVD GitHub
CVSS 3.1
7.4
EPSS
0.3%
CVE-2026-61742 Sep 24, 17:30 npm CRITICAL POC PATCH GHSA Act Now

Unauthenticated MCP tool invocation in DBHub versions prior to 0.22.5 allows a malicious website to reach the HTTP transport endpoint and dispatch database tool calls against connected Postgres, MySQL, SQL Server, Oracle, MariaDB, or SQLite databases, because the server's Origin-equals-Host check is defeated by DNS rebinding. The flaw applies only when DBHub is launched in the non-default HTTP transport mode (for example --transport http --port 8080); the default stdio transport is unaffected, and exploitation requires a victim's browser to load attacker-controlled content and successfully complete the rebind window, per the independent assessment. No public exploit has been identified at time of analysis, and while the CVSS 4.0 vector scores 9.3, the assessed real-world severity is lower (CVSS 3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L), with impact bounded by DBHub's configured tool permissions and database credentials - read-only configurations limit exposure to disclosure.

Authentication Bypass PostgreSQL Oracle Bytebase Dbhub
NVD GitHub
CVSS 4.0
9.3
EPSS
0.2%
CVE-2026-133964 Nov 21, 09:15 MEDIUM This Month

Bytebase DBHub through version 2.0.0 relies on a keyword denylist (escapeHatchFunctionKeywords in src/utils/allowed-keywords.ts) to enforce its Read Only Mode, and that denylist is incomplete. An authenticated low-privilege user (PR:L, CVSS:3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L, 5.3) can supply a 'tool' argument containing a keyword the blocklist omits and thereby bypass the read-only restriction, with limited confidentiality, integrity and availability impact confined to the DBHub component. Exploitation requires the Read Only Mode feature to be enabled and treated as a security boundary, plus valid authenticated access to the MCP server; no public exploit was identified at time of analysis and the issue is not in CISA KEV. The vendor was contacted about the disclosure but did not respond.

Information Disclosure Bytebase Dbhub
NVD VulDB GitHub
CVSS 4.0
5.3
EPSS
0.6%
CVE-2026-61789 Oct 30, 16:08 npm MEDIUM PATCH This Month

Read-only mode in Bytebase DBHub before 0.22.6 can be bypassed on the MySQL and MariaDB connectors, allowing write and destructive DDL statements such as DROP TABLE to reach the database through the MCP execute-SQL tool. The root cause is an interpretation conflict: DBHub's scanner treats every '--' as a line comment, while MySQL and MariaDB only start a comment when whitespace follows, so a payload like 'SELECT 1--1;DROP TABLE victim' passes the read-only classifier and is still executed in full because the connectors run with multipleStatements enabled. Unauthenticated remote attackers must be able to influence the SQL the assistant issues - most realistically via prompt injection in content the assistant reads - and read-only mode must actually be enabled for the bypass to matter; a proof-of-concept payload is documented in the public advisory, no confirmed public exploit code or CISA KEV entry exists at time of analysis, and the issue is fixed in 0.22.6.

Authentication Bypass MySQL MariaDB Oracle Bytebase +1
NVD GitHub
CVSS 4.0
6.1
EPSS
0.4%
EPSS 1% CVSS 9.8
CRITICAL Act Now

Authentication bypass in Bytebase DBHub lets remote, unauthenticated attackers reach the MCP server without user interaction, because the server makes an incorrect authorization decision while parsing untrusted SQL (CWE-863). The CPE marks all DBHub versions as affected, and CVSS 3.1 scores the flaw 9.8 with high confidentiality, integrity, and availability impact; exploitation requires only network reachability to the MCP server. No public exploit was identified at time of analysis, but the act_now priority label and ZDI origin support urgent exposure review.

Authentication Bypass Bytebase Mcp +1
NVD
EPSS 1% CVSS 7.2
HIGH PATCH This Week

Read-only mode bypass in DBHub 1.6.1 and earlier lets MCP clients that were granted read-only execute_sql access run write and DDL statements against MySQL, MariaDB, or PostgreSQL backends. The attacker hides stacked statements behind backslash-escaped quotes so DBHub's SQL classifier misses them, while the database engine executes them. Exploitation requires an existing authorized MCP client (PR:L) and no user interaction; no public exploit code was identified at time of analysis, and vendor patches are available in DBHub 1.7.0.

Authentication Bypass PostgreSQL MySQL +3
NVD GitHub
EPSS 0% CVSS 7.4
HIGH POC PATCH This Week

DBHub's `readonly = true` option on its `execute_sql` tool fails to enforce read-only database access in versions prior to 0.22.6, because the connector code that would set PostgreSQL `default_transaction_read_only=on` and open SQLite in read-only mode is gated on a configuration value that is never populated. With only a first-keyword classifier left as a guard, any `SELECT` that calls a side-effecting function passes, allowing sequence tampering with an ordinary role and, with a privileged PostgreSQL role, arbitrary host file write via `lo_export`, arbitrary host file read via `pg_read_file`, and remote code execution via `dblink` combined with `COPY ... TO PROGRAM`. The HTTP transport is unauthenticated (CVSS vector PR:N) and binds to `0.0.0.0` by default, so any network caller of `/mcp` can reach the vulnerable tool; CVSS is 7.4 (AV:N/AC:H) and no public exploit code has been identified at time of analysis, though the vendor-released patch 0.22.6 resolves the issue.

RCE PostgreSQL Oracle +2
NVD GitHub
EPSS 0% CVSS 9.3
CRITICAL POC PATCH Act Now

Unauthenticated MCP tool invocation in DBHub versions prior to 0.22.5 allows a malicious website to reach the HTTP transport endpoint and dispatch database tool calls against connected Postgres, MySQL, SQL Server, Oracle, MariaDB, or SQLite databases, because the server's Origin-equals-Host check is defeated by DNS rebinding. The flaw applies only when DBHub is launched in the non-default HTTP transport mode (for example --transport http --port 8080); the default stdio transport is unaffected, and exploitation requires a victim's browser to load attacker-controlled content and successfully complete the rebind window, per the independent assessment. No public exploit has been identified at time of analysis, and while the CVSS 4.0 vector scores 9.3, the assessed real-world severity is lower (CVSS 3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L), with impact bounded by DBHub's configured tool permissions and database credentials - read-only configurations limit exposure to disclosure.

Authentication Bypass PostgreSQL Oracle +2
NVD GitHub
EPSS 1% CVSS 5.3
MEDIUM This Month

Bytebase DBHub through version 2.0.0 relies on a keyword denylist (escapeHatchFunctionKeywords in src/utils/allowed-keywords.ts) to enforce its Read Only Mode, and that denylist is incomplete. An authenticated low-privilege user (PR:L, CVSS:3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L, 5.3) can supply a 'tool' argument containing a keyword the blocklist omits and thereby bypass the read-only restriction, with limited confidentiality, integrity and availability impact confined to the DBHub component. Exploitation requires the Read Only Mode feature to be enabled and treated as a security boundary, plus valid authenticated access to the MCP server; no public exploit was identified at time of analysis and the issue is not in CISA KEV. The vendor was contacted about the disclosure but did not respond.

Information Disclosure Bytebase Dbhub
NVD VulDB GitHub
EPSS 0% CVSS 6.1
MEDIUM PATCH This Month

Read-only mode in Bytebase DBHub before 0.22.6 can be bypassed on the MySQL and MariaDB connectors, allowing write and destructive DDL statements such as DROP TABLE to reach the database through the MCP execute-SQL tool. The root cause is an interpretation conflict: DBHub's scanner treats every '--' as a line comment, while MySQL and MariaDB only start a comment when whitespace follows, so a payload like 'SELECT 1--1;DROP TABLE victim' passes the read-only classifier and is still executed in full because the connectors run with multipleStatements enabled. Unauthenticated remote attackers must be able to influence the SQL the assistant issues - most realistically via prompt injection in content the assistant reads - and read-only mode must actually be enabled for the bypass to matter; a proof-of-concept payload is documented in the public advisory, no confirmed public exploit code or CISA KEV entry exists at time of analysis, and the issue is fixed in 0.22.6.

Authentication Bypass MySQL MariaDB +3
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy