# CVE-2026-55642: dbx: Unauthenticated arbitrary SQL execution in dbx-web (authentication fails open when no password is configured)

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-20T16:38:29.732Z
- Modified: 2026-10-18T20:10:00.110Z
- Weaknesses: CWE-306
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- t8y2 dbx: < 0.5.51

## References

- <https://github.com/t8y2/dbx/security/advisories/GHSA-rqp4-8fxh-22vh> (exploit)
- <https://github.com/t8y2/dbx/issues/2887>
- <https://github.com/t8y2/dbx/commit/fb919efe0a62869631f49242d1f4fe8d41718c2a>
- <https://github.com/t8y2/dbx/releases/tag/v0.5.51>

## Sources

- CVE List: [CVE-2026-55642](https://www.cve.org/CVERecord?id=CVE-2026-55642), CVE Terms of Use, modified 2026-08-20
- NVD: [CVE-2026-55642](https://nvd.nist.gov/vuln/detail/CVE-2026-55642), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2026-55642 · Whole record: https://cve.day/CVE-2026-55642.json · Rebuilt by cve.day 2026-11-25T22:59:34.666Z
