{"id":"CVE-2026-100406","aliases":["CVE-2026-100406"],"related":[],"kind":"vulnerability","state":"published","title":"dbt: Unauthenticated Arbitrary SQL Execution in `dbt docs serve`","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-14T18:27:24.863Z","modified":"2026-10-20T02:17:07.867Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":8.2,"rating":"HIGH"}],"cwes":["CWE-22","CWE-200","CWE-306"],"affected":[{"ranges":[{"version":">= 2.0.0-alpha.0, < 2.0.0-alpha.5","status":"affected"}],"vendor":"dbt-labs","product":"dbt-core","source":"cvelist"}],"references":[{"url":"https://github.com/dbt-labs/dbt/security/advisories/GHSA-h2j2-2r7g-rff8","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/dbt-labs/dbt/commit/3a5d26fe02b58382720d04cbd87143b7b6775413","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/dbt-labs/dbt/releases/tag/v2.0.0-alpha.5","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-10-20T01:50:57.067Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100406","url":"https://www.cve.org/CVERecord?id=CVE-2026-100406","licence":"CVE Terms of Use","modified":"2026-10-20T01:51:20.549Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100406","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100406","licence":"Public domain","modified":"2026-10-20T02:17:07.867Z"}],"updatedAt":"2026-11-25T22:59:44.775Z","epss":{"score":0.00423,"percentile":0.38545,"date":"2026-12-01T12:00:22.000Z"}}