CVE-2026-55642 dbx: Unauthenticated arbitrary SQL execution in dbx-web (authentication fails open when no password is configured)
Unauthenticated attackers can execute arbitrary SQL queries via the web interface when no password is configured, leading to data disclosure or modification.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-55642?
CVE-2026-55642 is a critical authentication bypass vulnerability in t8y2 dbx, published on 20 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-306
Which versions are affected by CVE-2026-55642?
How do I fix CVE-2026-55642?
No fix has been published for CVE-2026-55642 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2026-55642 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55642 exists.
Sources
Also known as GHSA-rqp4-8fxh-22vh.