CVE-2026-100406

published 14 Oct 2026 · updated 20 Oct 2026

dbt: Unauthenticated Arbitrary SQL Execution in `dbt docs serve`

8.2HighCVSS 8.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
dbt-labs>=2.0.0-alpha.0 <2.0.0-alpha.5

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-100406 severity on Zeptric[![CVE-2026-100406](https://zeptric.io/badge/cve/CVE-2026-100406.svg)](https://zeptric.io/cve/CVE-2026-100406)