Vulnerability 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/t8y2/dbx/commit/fb919efe0a62869631f49242d1f4fe8d41718c2a
- https://github.com/t8y2/dbx/issues/2887
- https://github.com/t8y2/dbx/releases/tag/v0.5.51
- https://github.com/t8y2/dbx/security/advisories/GHSA-rqp4-8fxh-22vh
- https://github.com/t8y2/dbx/security/advisories/GHSA-rqp4-8fxh-22vh
FAQ
What is CVE-2026-55642?
CVE-2026-55642 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 ...
How severe is CVE-2026-55642?
CVE-2026-55642 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-55642?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.