SCA: security update for @bytebase/dbhub (GHSA-fm8p-53ww-hf6w)

critical Tenable Self-Hosted Container Security Plugin ID 448360

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- DBHub is a database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite. Versions prior to
0.22.5 expose an unauthenticated HTTP MCP endpoint when started with the documented HTTP transport mode,
for example `--transport http --port 8080`. The HTTP server attempts to protect browser-origin access by
checking whether the `Origin` hostname equals the `Host` hostname, then reflecting the validated `Origin`
into `Access-Control-Allow-Origin`. This does not stop DNS rebinding. After an attacker-controlled
hostname rebinds to a victim-accessible DBHub HTTP server, both `Origin` and `Host` can contain the
attacker-controlled hostname, so DBHub accepts the request and dispatches MCP tool calls. As a result, a
malicious website can deterministically invoke DBHub MCP tools from the victim's browser without prompt
injection or model involvement. With the default demo configuration this can read and write the demo
SQLite database; with a real configured database, the same primitive can read, enumerate, and potentially
write database contents depending on DBHub's configured tool permissions and database credentials. Version
0.22.5 fixes the issue. (CVE-2026-61742)

Solution

Update the @bytebase/dbhub library and its related packages to version 0.22.5 or later.

See Also

https://github.com/advisories/GHSA-fm8p-53ww-hf6w

Plugin Details

Severity: Critical

ID: 448360

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 9/25/2026

Updated: 9/25/2026

Risk Information

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2026-61742

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Critical

Base Score: 9.3

Threat Score: 8.1

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/24/2026

Vulnerability Publication Date: 9/24/2026

Reference Information

CVE: CVE-2026-61742