CVE-2026-55642: dbx: Unauthenticated arbitrary SQL execution in dbx-web (authentication fails open when no password is configured)
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.
Security readout for executives and security teams
Plain-English summary
Older dbx-web deployments may expose connected databases without authentication when no password is configured. A remote attacker could use dbx’s stored database access to read, alter, or delete data. The desktop Tauri application is not affected because it listens only on the local machine.
Executive priority
Prioritize immediate remediation for internet-facing or broadly reachable dbx-web instances. Upgrade to 0.5.51 or later and isolate affected services until verified. Investigate potentially exposed deployments because compromise could include data theft, unauthorized changes, or destructive database operations.
Technical view
Before version 0.5.51, dbx-web’s authentication middleware allows protected requests when password_hash is absent. Fresh deployments can enter this state when DBX_PASSWORD is unset and no stored password exists. Because dbx-web defaults to 0.0.0.0:4224, reachable attackers can access connection and SQL execution APIs without credentials.
Likely exposure
Exposure requires dbx-web earlier than 0.5.51, no configured or stored password, and network reachability to port 4224. Internet-facing or broadly accessible internal deployments are highest risk. Connected database permissions determine the possible impact. The loopback-only desktop Tauri application is excluded.
Exploitation context
The flaw is remotely reachable, requires no privileges or user interaction, and has low attack complexity. However, the supplied record is not in KEV and provides no evidence of active exploitation. Treat exposed qualifying deployments as urgent because successful access could compromise database confidentiality, integrity, and availability.
Researcher notes
This is CWE-306 with CVSS 3.1 score 9.8. The critical condition is a fail-open authentication path when password_hash is None, combined with the default all-interface listener. Impact is constrained by configured database accounts and their permissions. No active exploitation or public compromise evidence is established in the supplied sources.
Mitigation direction
Upgrade dbx-web to version 0.5.51 or later.
Until upgraded, restrict network access to dbx-web port 4224.
Configure a strong dbx-web password and verify authentication is enabled.
Limit configured database credentials to the minimum required privileges.
Check the vendor advisory for any additional remediation guidance.
Validation and detection
Inventory dbx-web deployments and record their installed versions.
Confirm whether DBX_PASSWORD or a stored password exists.
Verify port 4224 is not reachable from untrusted networks.
Confirm protected API requests require authentication after remediation.
Review dbx-web access and database audit logs for unexpected activity.
Verify desktop-only installations bind exclusively to loopback.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-306: Credential and account abuse lookup
Authentication and credential weaknesses can make valid-account abuse and credential telemetry useful review starting points. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
5Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-306 · source CWE mapping
Missing Authentication for Critical Functionality
Missing Authentication for Critical Functionality represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.