CVE-2026-100406

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

HIGH
8.2
CVSS Score
Published: October 14, 2026 at 06:27 PM UTC
Updated: October 20, 2026 at 02:17 AM UTC
1 product affected across 1 vendorDbt Core

Using dbt-core by dbt-labs?

Get instant alerts when new vulnerabilities affect dbt-core - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.2
Exploit prediction
EPSS 0.4%
SSVC
PoC

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/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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

>= 2.0.0-alpha.0, < 2.0.0-alpha.5

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.2HIGHGitHub_M
Vector?

Quick Info

StatusAWAITING ANALYSIS
CWE
CWE-22CWE-200CWE-306

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card