Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach dbx-web on 0.0.0.0:4224
-
DeliverySend unauthenticated /api/connection/connect request
-
ExploitBypass None-password auth middleware
-
ExecutionCall /api/query/execute with arbitrary SQL
-
PersistUse stored DB credentials
-
ImpactDisclose, modify, or destroy database data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the dbx-web backend be running in the unconfigured state: DBX_PASSWORD is unset AND no password has been stored via setup, so password_hash is None and auth_middleware forwards all requests. The service must be network-reachable on its default 0.0.0.0:4224 bind (satisfied by default web/Docker deployments), and at least one database connection must be configured for the connect/execute routes to yield data. What LIMITS exploitation: it does NOT apply to the desktop Tauri app (loopback-only), does NOT apply once any password is configured, and requires network reachability to port 4224 - deployments already firewalled to localhost or fronted by an authenticating proxy are not exposed. |
| Impact | This is a genuine high-priority issue rather than an inflated CVSS score. The provided CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H = 9.8) is internally consistent with the description: the default 0.0.0.0 bind plus the None-password bypass produces remote, unauthenticated, low-complexity access with full read/write/destroy impact on connected databases. The one meaningful limiting factor is that the vulnerable 'allow everything' state only exists on a fresh/unconfigured deployment (DBX_PASSWORD unset and no password set up), so an operator who completed password setup is not exposed - this narrows the population but does not reduce severity where it applies, and default-on network exposure makes accidental exposure realistic. No EPSS score, KEV listing, or SSVC decision data was provided, so probability-of-exploitation signals are absent and cannot be cited; the fix and root cause, however, are confirmed in the vendor commit and release. Because the exposed routes drive real database credentials, any operator running dbx-web or the Docker image without a password should treat this as urgent and patch immediately. |
| Exploit ScenarioDerived | An operator spins up dbx-web or its Docker image to manage a production database and configures a connection, but never sets DBX_PASSWORD or completes password setup; the service is reachable on 0.0.0.0:4224. An attacker who can route to that port sends an HTTP request to /api/connection/connect followed by /api/query/execute and runs arbitrary SQL using the stored credentials - no public exploit is required, as the requests are ordinary API calls against an unauthenticated endpoint. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
Authentication bypass in the dbx-web backend of the dbx database client (all versions prior to 0.5.51) lets unauthenticated network attackers reach protected API routes. When DBX_PASSWORD is unset and no stored password exists, auth_middleware treats a None password_hash as 'allow everything' and forwards every request to the handler chain, while the service listens on 0.0.0.0:4224 by default. Attackers can invoke /api/connection/connect and /api/query/execute to abuse configured database credentials and run arbitrary SQL. No public exploit has been identified at time of analysis, but the fix is confirmed in release v0.5.51 and the root cause is visible in the published commit.
RemediationAI
Vendor-released patch: upgrade to dbx 0.5.51, which contains the fix (commit fb919efe0a62869631f49242d1f4fe8d41718c2a, release https://github.com/t8y2/dbx/releases/tag/v0.5.51). The patched middleware fails closed, returning 401 when no password is configured. If you cannot upgrade immediately, set a password before exposing the service - configure DBX_PASSWORD (or complete the web setup/login password) so password_hash is no longer None, which removes the bypass condition; note this requires distributing the password to legitimate users and to any MCP client via DBX_WEB_PASSWORD. As an additional compensating control, change the default bind from 0.0.0.0 to 127.0.0.1 or place the service behind a firewall/reverse proxy that restricts access to port 4224 to trusted hosts only, accepting that this breaks intended remote/Docker access for authorized users until a password is set. Refer to advisory https://github.com/t8y2/dbx/security/advisories/GHSA-rqp4-8fxh-22vh.
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
dbx is a cross-platform database client written in Rust; the vulnerable surface is the dbx-web HTTP backend (crates/dbx-web) that serves a web/Docker deployment mode, as opposed to the desktop Tauri build. The root cause is CWE-306 (Missing Authentication for a Critical Function): in crates/dbx-web/src/auth.rs the middleware short-circuited with an 'allow everything' branch whenever state.password_hash was None, rather than failing closed. Combined with crates/dbx-web/src/main.rs binding to 0.0.0.0:4224 by default, any host that can reach that port bypasses auth entirely. The patched code (commit fb919efe) inverts this to fail closed - returning 401 Unauthorized when no password is set - and adds a password_disabled flag plus middleware_api_path_suffix handling so only static files and auth/ endpoints remain public. The connect/execute routes then proxy queries using the operator's stored database connection credentials, meaning the bypass yields full use of those credentials against connected databases. The single affected CPE is cpe:2.3:a:t8y2:dbx.
Know when Dbx 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Default 0.0.0.0 bind plus None-password bypass gives remote unauthenticated low-complexity access (AV:N/AC:L/PR:N/UI:N); arbitrary SQL via stored credentials yields full C/I/A impact within one system (S:U).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
dbx is a cross-platform database client for databases. Prior to 0.5.51, dbx-web auth_middleware in crates/dbx-web/src/auth.rs passes every protected request to the handler chain when password_hash is None. A fresh deployment reaches that state when DBX_PASSWORD is unset and no stored password exists, while crates/dbx-web/src/main.rs binds the service to 0.0.0.0 on port 4224 by default. An unauthenticated network attacker can call the /api/connection/connect and /api/query/execute routes to use configured database credentials and execute arbitrary SQL, allowing disclosure, modification, or destruction of data in connected databases. The desktop Tauri application is not affected because it binds only to loopback. This issue is fixed in version 0.5.51.
Executive ViewAI
The dbx database client (versions prior to 0.5.51) contains a critical authentication bypass vulnerability that allows unauthenticated network attackers to execute arbitrary SQL queries using configured database credentials. Organizations deploying vulnerable versions face immediate risk of unauthorized database access, modification, or destruction without authentication. This affects any system with dbx running on untrusted networks, with potential impact to data integrity and confidentiality across connected databases.
Apply vendor patch (v0.5.51). During rollout: Set DBX_PASSWORD environment variable to enable proper authentication; restrict network access to port 4224 to trusted hosts only; disable default 0.0.0.0 binding and configure to listen on 127.0.0.1 for deployments requiring local-only access.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
EUVD-2026-63470
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB