dbx: Unauthenticated arbitrary SQL execution in dbx-web (authentication fails open when no password is configured)
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-55642
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 01:45 UTC · Revision 1
Source evidence
dbx: Unauthenticated arbitrary SQL execution in dbx-web (authentication fails open when no password is configured)
core-osv · Original sourcePublished 20 Aug 2026, 16:38 UTC
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.
osv:CVE-2026-55642
Complete source record
{
"id": "64265df017ad3e08e36d18360918fa22123f5c845fcb1f9d3b665d54f804cd3e",
"url": "https://osv.dev/vulnerability/CVE-2026-55642",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "dbx: Unauthenticated arbitrary SQL execution in dbx-web (authentication fails open when no password is configured)",
"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 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.",
"evidence": "osv:CVE-2026-55642",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-55642",
"aliases": [
"CVE-2026-55642",
"GHSA-rqp4-8fxh-22vh"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/t8y2/dbx",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "e249925a7dff1d3f2908f77dd6ee3ba8223ab306"
},
{
"fixed": "fb919efe0a62869631f49242d1f4fe8d41718c2a"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.5.51"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "fb919efe0a62869631f49242d1f4fe8d41718c2a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "e249925a7dff1d3f2908f77dd6ee3ba8223ab306"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.5.51"
}
]
}
}
],
"versions": [
"v0.5.50",
"packages-v0.4.23",
"v0.5.49",
"agents-v0.2.47",
"packages-v0.4.22",
"v0.5.47",
"v0.5.46",
"agents-v0.2.45",
"packages-v0.4.21",
"v0.5.45",
"agents-v0.2.44",
"packages-v0.4.20",
"agents-v0.2.43",
"v0.5.44",
"packages-v0.4.19",
"v0.5.43",
"agents-v0.2.42",
"agents-v0.2.41",
"v0.5.42",
"packages-v0.4.18",
"agents-v0.2.40",
"packages-v0.4.17",
"v0.5.41",
"agents-v0.2.39",
"agents-v0.2.38",
"packages-v0.4.16",
"v0.5.40",
"packages-v0.4.15",
"v0.5.39",
"agents-v0.2.37",
"packages-v0.4.14",
"agents-v0.2.36",
"v0.5.38",
"agents-v0.2.35",
"packages-v0.4.13",
"v0.5.37",
"packages-v0.4.12",
"v0.5.36",
"packages-v0.4.11",
"v0.5.35",
"v0.5.34",
"packages-v0.4.10",
"v0.5.33",
"packages-v0.4.9",
"v0.5.32",
"packages-v0.4.8",
"v0.5.31",
"packages-v0.4.7",
"v0.5.30",
"packages-v0.4.6",
"v0.5.29",
"v0.5.28",
"v0.5.27",
"packages-v0.4.5",
"v0.5.26",
"packages-v0.4.4",
"v0.5.25",
"v0.5.24",
"v0.5.23",
"v0.5.22",
"v0.5.21",
"v0.5.20",
"v0.5.19",
"v0.5.18",
"v0.5.17",
"v0.5.16",
"v0.5.15",
"v0.5.14",
"v0.5.13",
"v0.5.12",
"v0.5.11",
"packages-v0.4.3",
"mcp-v0.4.2",
"v0.5.10",
"mcp-v0.4.1",
"v0.5.9",
"v0.5.8",
"v0.5.7",
"v0.5.6",
"v0.5.5",
"v0.5.4",
"v0.5.3",
"v0.5.2",
"v0.5.1",
"v0.5.0",
"v0.4.3",
"v0.4.2",
"v0.4.1",
"v0.4.0",
"v0.3.10",
"v0.3.9",
"v0.3.8",
"v0.3.7",
"v0.3.6",
"v0.3.5",
"v0.3.4",
"v0.3.3",
"v0.3.2",
"v0.3.1",
"v0.3.0",
"v0.2.1",
"v0.2.0",
"v0.1.1",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55642.json"
}
}
],
"modified": "2026-10-28T02:30:52.658242028Z",
"provider": "osv",
"references": [
"https://github.com/t8y2/dbx/releases/tag/v0.5.51",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55642.json",
"https://github.com/t8y2/dbx/security/advisories/GHSA-rqp4-8fxh-22vh",
"https://nvd.nist.gov/vuln/detail/CVE-2026-55642",
"https://github.com/t8y2/dbx/issues/2887",
"https://github.com/t8y2/dbx/commit/fb919efe0a62869631f49242d1f4fe8d41718c2a"
],
"provider_metadata": {
"cwe_ids": [
"CWE-306"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55642.json"
}
},
"related_cves": [
{
"value": "CVE-2026-55642",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 521476,
"published_at": "2026-08-20T16:38:29.732+00:00"
}