---
id: CVE-2026-55642
title: dbx is a cross-platform database client for databases
summary: >-
  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…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-306
published: '2026-08-20'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T20:09:01.757'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-55642'
references:
  - url: >-
      https://github.com/t8y2/dbx/commit/fb919efe0a62869631f49242d1f4fe8d41718c2a
    label: security-advisories@github.com
  - url: 'https://github.com/t8y2/dbx/issues/2887'
    label: security-advisories@github.com
  - url: 'https://github.com/t8y2/dbx/releases/tag/v0.5.51'
    label: security-advisories@github.com
  - url: 'https://github.com/t8y2/dbx/security/advisories/GHSA-rqp4-8fxh-22vh'
    label: security-advisories@github.com
  - url: 'https://github.com/t8y2/dbx/security/advisories/GHSA-rqp4-8fxh-22vh'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00472
epssPercentile: 0.40028
ingestedAt: '2026-09-18T20:51:25.641Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
