Skip to main content

dbx CVE-2026-55642

| EUVDEUVD-2026-63470 CRITICAL
Missing Authentication for Critical Function (CWE-306)
2026-08-20 GitHub_M
9.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Reach dbx-web on 0.0.0.0:4224
  2. Delivery
    Send unauthenticated /api/connection/connect request
  3. Exploit
    Bypass None-password auth middleware
  4. Execution
    Call /api/query/execute with arbitrary SQL
  5. Persist
    Use stored DB credentials
  6. Impact
    Disclose, 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

dbx < 0.5.51

Affected Packages

euvd dbx fix: 0.5.51

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

Vendor (GitHub_M) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

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).

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Aug 20, 2026 - 17:02 EUVD
CVE Published
Aug 20, 2026 - 16:38 cve.org
CRITICAL 9.8

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Low
niche single-vendor open-source database client, small deployment footprint
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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