Skip to main content

Bytebase DBHub EUVDEUVD-2026-141605

| CVE-2026-142225 HIGH
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
2026-12-02 VulnCheck GHSA-m42r-8fwx-2329
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect as authorized MCP client
  2. Delivery
    Call search_objects with crafted LIKE pattern
  3. Exploit
    likePatternToRegex builds unbounded .* regex
  4. Execution
    Polynomial backtracking blocks Node.js event loop
  5. Impact
    All sessions denied service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a client that can reach and invoke the DBHub MCP server's search_objects tool (PR:L - the attacker must hold a valid/authorized MCP session, not fully anonymous access). The concrete trigger is a crafted SQL LIKE pattern passed to search_objects containing many % wildcards; likePatternToRegex converts these to unbounded .* expressions that backtrack polynomially. No special non-default configuration is called out beyond having search_objects exposed to the client. Limiting factors: exploitation is constrained to deployments running DBHub at or below version 2.1.0, requires MCP-client access rather than open internet exposure, and yields only denial of service - no data read or modification. Because Node.js is single-threaded, a single successful call degrades availability for all sessions, so the practical impact is amplified despite the privilege requirement.

Impact

This is a CWE-1333 regular-expression denial-of-service (ReDoS) in Bytebase DBHub (an MCP server front-end for databases) through version 2.1.0. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) and the 7.1 score indicate a network-reachable, low-complexity attack requiring low privileges - in context, a client already able to invoke the search_objects MCP tool - with impact confined entirely to availability (VA:H; VC:N/VI:N). There is no confidentiality or integrity exposure: an attacker cannot read or alter data, only hang the service. The vuln.today decision label is 'this_week' and the issue was reported by VulnCheck, but no EPSS probability, no CISA KEV listing, and no confirmed public exploit code are present in the input, so active-exploitation and wide-scale-exploitation signals are absent. The practical risk is a self-inflicted or insider/abusive-client availability failure rather than a mass-exploited internet threat: because the Node.js event loop is single-threaded, one crafted pattern blocks ALL sessions, so the blast radius per successful call is high even though the privilege barrier (an authorized MCP client) limits who can trigger it. Net: a legitimate but medium-priority availability bug - real for anyone exposing DBHub to semi-trusted MCP clients, not a high-CVSS-but-illusory issue, yet not an emergency given PR:L, no KEV, and availability-only impact.

Exploit ScenarioDerived

An MCP client with access to the DBHub server's search_objects tool submits a short LIKE pattern containing many % wildcards (e.g. a string of repeated %), which likePatternToRegex expands into unbounded .* sequences. The resulting regular expression triggers polynomial backtracking that pins the single Node.js event loop, freezing request handling for every connected session until the process is restarted. No public exploit code is identified in the provided data, but the VulnCheck advisory and the linked source lines describe the triggering mechanism directly.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Regular-expression denial of service in Bytebase DBHub through 2.1.0 allows a client holding a valid MCP session to stall the entire server by submitting a short SQL LIKE pattern packed with % wildcards to the search_objects tool. The pattern is translated into a regular expression containing unbounded .* constructs, and the resulting polynomial backtracking blocks the single-threaded Node.js event loop for every connected session, not just the attacker's. No public exploit code has been identified at time of analysis, and exploitation requires authorized MCP-client access (PR:L) rather than open internet reachability, with impact limited to availability - no data read or modification is possible.

RemediationAI

No vendor-released patch or fixed version is identified in the available data for CVE-2026-142225, so operators should track the VulnCheck advisory (https://www.vulncheck.com/advisories/bytebase-dbhub-through-2.1.0-redos-via-search-objects-like-pattern) and the DBHub repository for a release above 2.1.0 that rewrites or bounds likePatternToRegex. Until then, restrict network and MCP-session access to the DBHub server so that only trusted, authorized clients can reach the search_objects tool - this removes the PR:L foothold the attack needs but does not help if a legitimate client is compromised or malicious. As a second layer, reject or cap LIKE patterns before they reach the tool: enforce a maximum pattern length together with a maximum number of % wildcards (for example, refuse patterns with more than a handful of consecutive or total wildcards), and escape or collapse runs of % into a single wildcard; the trade-off is that legitimate broad-prefix searches may be refused and users will see validation errors on very generic patterns. Running DBHub behind a process supervisor with request timeouts and health-based restarts, or isolating it in a container with CPU limits, reduces the blast radius of a successful stall but does not prevent the event loop from blocking during the call and can cause restart loops under repeated abuse.

Affected VersionsENISA

dbhub 0 ≤2.1.0

Affected Packages

euvd dbhub no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

DBHub is Bytebase's Model Context Protocol (MCP) server that exposes database tooling to MCP clients, and its search_objects tool accepts SQL LIKE patterns from the calling client. The flaw is CWE-1333 (inefficient regular expression complexity): the likePatternToRegex helper in src/tools/search-objects.ts converts user-supplied LIKE syntax into a JavaScript RegExp, mapping each % wildcard to .* and joining them with further wildcards so that a very short input becomes an expression with many unbounded .* segments and anchors that force heavy backtracking against the searched strings. Because Node.js executes JavaScript on a single event-loop thread, the polynomial-time match attempt cannot be preempted and halts request processing for all sessions until the regex evaluation completes. The CPE cpe:2.3:a:bytebase:dbhub:*:*:*:*:*:*:*:* carries no version bound, so the affected range is treated as all DBHub releases through 2.1.0, the version named in the advisory; the trigger does not depend on a non-default configuration beyond search_objects being reachable by the client, and the specific inputs and string lengths needed to reach worst-case backtracking are not described in the available sources.

Know when Bytebase gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-reachable MCP tool, low complexity, needs an authorized client (PR:L), no user interaction; impact is availability-only event-loop blocking, so C:N/I:N/A:H and unchanged scope.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Bytebase DBHub through 2.1.0 contains a regular expression denial of service vulnerability that allows MCP clients to block the server by supplying crafted LIKE patterns to search_objects. Attackers can submit short patterns with many % wildcards that likePatternToRegex converts to unbounded .* expressions, causing polynomial backtracking that blocks the Node.js event loop for all sessions.

Executive ViewAI

Why It Matters

A denial-of-service vulnerability in Bytebase DBHub (versions through 2.1.0) enables any user with a valid MCP session to disrupt the entire database hub by sending a crafted search query. This can render the service unavailable for all users, impacting business operations that depend on DBHub for database access. Leadership should prioritize remediation to prevent service outages and maintain productivity.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Implement network segmentation and strict MCP client authentication; enforce rate limiting and input sanitization for search queries; monitor service availability and set up alerts for event loop blocking.

Threat Intelligence Overview

Prevalence
Low
niche MCP database connector, limited and recent deployment footprint
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org Vulnrichment GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2026-61742 CRITICAL POC
9.3 Sep 24

Unauthenticated MCP tool invocation in DBHub versions prior to 0.22.5 allows a malicious website to reach the HTTP trans

CVE-2026-61788 HIGH POC
7.4 Sep 24

DBHub's `readonly = true` option on its `execute_sql` tool fails to enforce read-only database access in versions prior

CVE-2026-136441 CRITICAL
9.8 Nov 24

Authentication bypass in Bytebase DBHub lets remote, unauthenticated attackers reach the MCP server without user interac

CVE-2022-32170 MEDIUM POC
4.3 Sep 28

The “Bytebase” application does not restrict low privilege user to access admin “projects“ for which an unauthorized use

CVE-2022-32169 MEDIUM POC
4.3 Sep 28

The “Bytebase” application does not restrict low privilege user to access “admin issues“ for which an unauthorized user

CVE-2026-134803 HIGH
7.2 Nov 22

Read-only mode bypass in DBHub 1.6.1 and earlier lets MCP clients that were granted read-only execute_sql access run wri

CVE-2026-61789 MEDIUM
6.1 Oct 30

Read-only mode in Bytebase DBHub before 0.22.6 can be bypassed on the MySQL and MariaDB connectors, allowing write and d

CVE-2026-133964 MEDIUM
5.3 Nov 21

Bytebase DBHub through version 2.0.0 relies on a keyword denylist (escapeHatchFunctionKeywords in src/utils/allowed-keyw

CVE-2026-115322 MEDIUM
5.3 Oct 22

Authenticated users in Bytebase before 3.16.0 can read task-run data belonging to projects they hold no permission on, b

CVE-2026-115321 MEDIUM
5.3 Oct 22

Bytebase before 3.16.0 contains an authorization bypass in the UpdateIssueComment handler that lets authenticated users

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