{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-100406","id":"CVE-2026-100406","title":"dbt: Unauthenticated Arbitrary SQL Execution in `dbt docs serve`","description":"dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications. From 2.0.0-alpha.0 until 2.0.0-alpha.5, dbt docs serve exposes the unauthenticated POST /api/v1/query endpoint in crates/dbt-docs-server/src/handlers/query.rs, which passes caller-supplied SQL to DuckDbViewsBackend::query_arrow() in crates/dbt-index-core/src/b","descriptionLong":"dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications. From 2.0.0-alpha.0 until 2.0.0-alpha.5, dbt docs serve exposes the unauthenticated POST /api/v1/query endpoint in crates/dbt-docs-server/src/handlers/query.rs, which passes caller-supplied SQL to DuckDbViewsBackend::query_arrow() in crates/dbt-index-core/src/backend.rs without authorization or an allowlist. A client that can reach the server can invoke DuckDB filesystem-reading functions to read files available to the dbt process, including files outside the docs index directory. The server binds to localhost by default, but operators can expose it to a network through the host option or DBT_DOCS_HOST setting. This issue is fixed in version 2.0.0-alpha.5.","published":"2026-10-14T18:27:24.863Z","updated":"2026-10-28T02:30:49.508649703Z","reserved":"2026-09-25T20:08:33.084Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":8.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":8.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"high","source":"GitHub_M"},{"version":"4.0","score":8.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"github.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"}],"rating":"high","products":["dbt-labs dbt-core"],"affectedProducts":[{"vendor":"dbt-labs","product":"dbt-core","defaultStatus":null,"versions":[{"version":">= 2.0.0-alpha.0, < 2.0.0-alpha.5","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-22","CWE-200","CWE-306"],"aliases":["GHSA-h2j2-2r7g-rff8"],"references":[{"url":"https://github.com/dbt-labs/dbt/security/advisories/GHSA-h2j2-2r7g-rff8","tags":["x_refsource_CONFIRM","exploit","advisory"]},{"url":"https://github.com/dbt-labs/dbt/commit/3a5d26fe02b58382720d04cbd87143b7b6775413","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/dbt-labs/dbt/releases/tag/v2.0.0-alpha.5","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100406.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100406","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00423,"epssPercentile":0.37341,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-100406","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100406","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-100406","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-100406","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}