Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect as authorized MCP client
-
DeliveryCall search_objects with crafted LIKE pattern
-
ExploitlikePatternToRegex builds unbounded .* regex
-
ExecutionPolynomial backtracking blocks Node.js event loop
-
ImpactAll 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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.
Articles & Coverage 1
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Unauthenticated MCP tool invocation in DBHub versions prior to 0.22.5 allows a malicious website to reach the HTTP trans
DBHub's `readonly = true` option on its `execute_sql` tool fails to enforce read-only database access in versions prior
Authentication bypass in Bytebase DBHub lets remote, unauthenticated attackers reach the MCP server without user interac
The “Bytebase” application does not restrict low privilege user to access admin “projects“ for which an unauthorized use
The “Bytebase” application does not restrict low privilege user to access “admin issues“ for which an unauthorized user
Read-only mode bypass in DBHub 1.6.1 and earlier lets MCP clients that were granted read-only execute_sql access run wri
Read-only mode in Bytebase DBHub before 0.22.6 can be bypassed on the MySQL and MariaDB connectors, allowing write and d
Bytebase DBHub through version 2.0.0 relies on a keyword denylist (escapeHatchFunctionKeywords in src/utils/allowed-keyw
Authenticated users in Bytebase before 3.16.0 can read task-run data belonging to projects they hold no permission on, b
Bytebase before 3.16.0 contains an authorization bypass in the UpdateIssueComment handler that lets authenticated users
EUVD-2026-141605
GHSA-m42r-8fwx-2329
NVD
CVE.org
Vulnrichment
Exploit-DB