PatchSiren cyber security CVE debrief
CVE-2026-100406 dbt-labs CVE debrief
CVE-2026-100406 is a high-severity vulnerability in dbt-core, a data build tool, that allows unauthenticated arbitrary SQL execution when the `dbt docs serve` command is used. The vulnerability exists in versions 2.0.0-alpha.0 through 2.0.0-alpha.4 and is fixed in version 2.0.0-alpha.5. An attacker can exploit this vulnerability by sending a POST request to the `/api/v1/query` endpoint, which can lead to reading files available to the dbt process.
- Vendor
- dbt-labs
- Product
- dbt-core
- CVSS
- HIGH 8.2
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-14
- Original CVE updated
- 2026-10-14
- Advisory published
- 2026-10-14
- Advisory updated
- 2026-10-14
Who should care
Operators and administrators of dbt-core, especially those who expose the `dbt docs serve` command to a network, should assess exposure and prioritize remediation. This includes reviewing current version usage, verifying potential exposure, and applying fixes or mitigations as needed. Security teams and vulnerability management teams should also be aware of this issue and coordinate with operators and administrators to ensure timely remediation.
Why it matters
CVE-2026-100406 is a high-severity vulnerability in dbt-core that allows unauthenticated arbitrary SQL execution, potentially leading to unauthorized file reads and exploitation by attackers.
- Potential unauthorized file reads
- Possible exploitation by attackers to read sensitive files
- Need for verification of current version and exposure
- Prioritization of remediation efforts
Technical summary
The vulnerability exists in the `dbt docs serve` command, which exposes the unauthenticated POST /api/v1/query endpoint. This endpoint passes caller-supplied SQL to DuckDbViewsBackend::query_arrow() without authorization or an allowlist. An attacker can invoke DuckDB filesystem-reading functions to read files available to the dbt process, potentially leading to unauthorized file reads. The server binds to localhost by default, but operators can expose it to a network through the host option or DBT_DOCS_HOST setting.
Defensive priority
Operators and administrators of dbt-core should assess exposure and prioritize remediation, especially if the `dbt docs serve` command is exposed to a network.
Recommended defensive actions
- Assess exposure of `dbt docs serve` to a network
- Verify if the current version of dbt-core is vulnerable
- Apply the fix by upgrading to version 2.0.0-alpha.5 or later
- Monitor for potential exploitation attempts
- Review compensating controls for exposed systems
- Check relevant monitoring, detection, and logs for exposed assets
- Track exceptions and retest remediated assets
Evidence notes
The vulnerability is confirmed by the CVE Program and NVD. The dbt-labs vendor has provided an advisory and a fix for the issue. Evidence is limited to public CVE details and vendor advisories. Defenders should verify current version exposure and apply the fix. Additional verification tasks may be needed based on specific environment configurations and potential exposure to the `dbt docs serve` command.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-100406 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-100406
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-100406 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-100406
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
dbt: Unauthenticated Arbitrary SQL Execution in `dbt docs serve`
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/100xxx/CVE-2026-100406.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/dbt-labs/dbt/security/advisories/GHSA-h2j2-2r7g-rff8
Supplemental source - x_refsource_CONFIRM
-
Source reference
Unverified legacy reference
URL: https://github.com/dbt-labs/dbt/commit/3a5d26fe02b58382720d04cbd87143b7b6775413
Supplemental source - x_refsource_MISC
-
Source reference
Unverified legacy reference
URL: https://github.com/dbt-labs/dbt/releases/tag/v2.0.0-alpha.5
Supplemental source - x_refsource_MISC
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.