Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-100406

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-100406

dbt-core

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "dbt-labs",
    "product": "dbt-core",
    "versions": [
      {
        "status": "affected",
        "version": ">= 2.0.0-alpha.0, < 2.0.0-alpha.5"
      }
    ]
  }
]
Related CVEs
CVE-2026-100406

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#42050 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement