CVE-2026-55642
dbx: Unauthenticated arbitrary SQL execution in dbx-web (authentication fails open when no password is configured)
Description
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.
INFO
Published Date :
Aug. 20, 2026, 5:18 p.m.
Last Modified :
Oct. 18, 2026, 8:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2026-55642
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | CRITICAL | [email protected] | ||||
| CVSS 3.1 | CRITICAL | MITRE-CVE |
Solution
- Update dbx to version 0.5.51 or later.
- Ensure DBX_PASSWORD is set if not using stored password.
- Review and secure database credentials.
- Restrict access to the application port.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-55642.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-55642 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-55642
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-55642 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-55642 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 18, 2026
Action Type Old Value New Value Added Translation Title: dbx de t8y2, Description: dbx es un cliente de base de datos multiplataforma para bases de datos. Antes de la versión 0.5.51, el auth_middleware de dbx-web en crates/dbx-web/src/auth.rs pasa cada solicitud protegida a la cadena de gestores cuando password_hash es None. Una implementación nueva alcanza ese estado cuando DBX_PASSWORD no está configurada y no existe ninguna contraseña almacenada, mientras que crates/dbx-web/src/main.rs enlaza el servicio a 0.0.0.0 en el puerto 4224 por defecto. Un atacante de red no autenticado puede llamar a las rutas /api/connection/connect y /api/query/execute para usar credenciales de base de datos configuradas y ejecutar SQL arbitrario, permitiendo la divulgación, modificación o destrucción de datos en bases de datos conectadas. La aplicación de escritorio Tauri no se ve afectada porque se enlaza solo a loopback. Este problema está solucionado en la versión 0.5.51. -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 20, 2026
Action Type Old Value New Value Added Reference https://github.com/t8y2/dbx/security/advisories/GHSA-rqp4-8fxh-22vh Added SSVC {'id': 'CVE-2026-55642', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-08-20T19:31:01.819260Z'} -
New CVE Received by [email protected]
Aug. 20, 2026
Action Type Old Value New Value Added Affected [{'vendor': 't8y2', 'product': 'dbx', 'versions': [{'status': 'affected', 'version': '< 0.5.51'}]}] Added Description 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-306 Added Reference https://github.com/t8y2/dbx/commit/fb919efe0a62869631f49242d1f4fe8d41718c2a Added Reference https://github.com/t8y2/dbx/issues/2887 Added Reference https://github.com/t8y2/dbx/releases/tag/v0.5.51 Added Reference https://github.com/t8y2/dbx/security/advisories/GHSA-rqp4-8fxh-22vh