CVE-2026-100406
published high CVSS 4.0 · 8.2dbt: Unauthenticated Arbitrary SQL Execution in `dbt docs serve`
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| dbt-labs | — | dbt-core>= 2.0.0-alpha.0, < 2.0.0-alpha.5 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| dbt-labs | dbt-core | >= 2.0.0-alpha.0, < 2.0.0-alpha.5 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-306 CWE-306: Missing Authentication for Critical Function
References
3Provider assertions
2GitHub_M · cna
dbt: Unauthenticated Arbitrary SQL Execution in `dbt docs serve`
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f4b172926bc774b80ae819286c6b16cbb0db6b90314ff26c35759cf874c8056a
- Ingested
- 20 Oct 2026, 01:54:12 UTC
- Source record
- Official CVE record