CVE-2026-100406

Source
https://cve.org/CVERecord?id=CVE-2026-100406
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100406.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-100406
Aliases
  • GHSA-h2j2-2r7g-rff8
Published
2026-10-14T18:27:24Z
Modified
2026-10-16T02:47:28Z
Severity
  • 8.2 (High) CVSS_V4 - 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 CVSS Calculator
Summary
dbt: Unauthenticated Arbitrary SQL Execution in `dbt docs serve`
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-200",
        "CWE-22",
        "CWE-306"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100406.json"
}
References

Affected packages

Git / github.com/dbt-labs/dbt

Affected ranges

Type
GIT
Repo
https://github.com/dbt-labs/dbt
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "2.0.0-alpha.0"
        },
        {
            "fixed":  "2.0.0-alpha.5"
        }
    ],
    "source":  [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.11.1
0.3.0
0.4.1
0.5.2
v0.*
v0.10.0
v0.10.1
v0.11.0
v0.15.0
v0.16.0b1
v0.16.0b3
v0.18.0
v0.18.0b2
v0.18.0rc1
v0.19.0b1
v0.19.0rc1
v0.19.0rc2
v0.2.3.0
v0.20.0b1
v0.20.0rc1
v0.21.0b1
v0.4.0
v0.4.7
v0.5.0
v0.5.1
v0.6.0
v0.6.1
v0.6.2
v0.7.0
v0.7.1
v0.8.0
v0.8.1
v0.8.2
v0.8.3
v0.9.0
v0.9.0a1
v0.9.0a2
v0.9.1
v1.*
v1.0.0b1
v1.0.0b2
v1.0.0rc1
v1.0.0rc2
v1.0.0rc3
v1.1.0b1
v1.11.0b4
v1.2.0b1
v1.3.0b1
v1.3.0b2
v1.4.0b1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100406.json"