CVE-2026-100406dbt: Unauthenticated Arbitrary SQL Execution in `dbt docs serve`
Updated under an hour ago ()
Does this affect you?
It affects dbt-labs dbt-core. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.35%, higher than 27% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 8.2 HIGH (v4.0, CNA)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
- Weakness (CWE)
- CWE-22, CWE-200, CWE-306
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.35% (percentile 27)
- Assigned by
- GitHub_M
- NVD analysis
- Awaiting Analysis
- Record last updated
- Oct 14, 2026
- First seen by InfoSec Signals
- Oct 14, 2026
Affected products
dbt-labs dbt-core dbt_labs:dbt_core (from the name) | from 2.0.0-alpha.0, < 2.0.0-alpha.5 | CNA record |
References
- https://github.com/dbt-labs/dbt/security/advisories/GHSA-h2j2-2r7g-rff8x-refsource-confirm
- https://github.com/dbt-labs/dbt/commit/3a5d26fe02b58382720d04cbd87143b7b6775413x-refsource-misc
- https://github.com/dbt-labs/dbt/releases/tag/v2.0.0-alpha.5x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.