{"schema":"threatline.record/2","record":{"id":"CVE-2026-100406","aliases":["GHSA-h2j2-2r7g-rff8"],"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.","categories":["Unclassified"],"product":"dbt-core","vendor":"dbt-labs","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-100406","source_modified_at":"2026-10-20T01:51:20.549Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"dbt-core","vendor":"dbt-labs","versions":[{"version":">= 2.0.0-alpha.0, < 2.0.0-alpha.5","status":"affected"}],"defaultStatus":null},{"source":"GitHub Advisory Database","source_url":"https://github.com/dbt-labs/dbt/security/advisories/GHSA-h2j2-2r7g-rff8","source_modified_at":"2026-09-28T13:48:50Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"ecosystem":"rust","name":"dbt-core"},"range":">= 2.0.0-alpha.0, <= 2.0.0-alpha.1"}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/dbt-labs/dbt/security/advisories/GHSA-h2j2-2r7g-rff8","source_modified_at":"2026-09-28T13:48:50Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"ecosystem":"rust","name":"dbt-core"},"version":"2.0.0-alpha.5"}],"cvss":8.2,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00349,"percentile":0.27343,"score_date":"2026-10-23"},"published_at":"2026-10-14T18:27:24.863Z","modified_at":"2026-10-20T01:51:20.549Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-100406","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-20T01:51:20.549Z"},{"source":"GitHub Advisory Database","url":"https://github.com/dbt-labs/dbt/security/advisories/GHSA-h2j2-2r7g-rff8","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-09-28T13:48:50Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-100406","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","GitHub Advisory Database","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/dbt-labs/dbt/security/advisories/GHSA-h2j2-2r7g-rff8","tags":["exploit"]},{"source":"CVE List","url":"https://github.com/dbt-labs/dbt/commit/3a5d26fe02b58382720d04cbd87143b7b6775413","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/dbt-labs/dbt/releases/tag/v2.0.0-alpha.5","tags":["x_refsource_MISC"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial","assessed_at":"2026-10-20T01:50:57.067215Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-20T01:51:20.549Z","content_hash":"b118f1b86a4dd701389c7cc1c0f6a0af7f22eab96ee132524d26ab6374c7b0a9"}}
