{
  "id": "CVE-2026-100406",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-100406",
  "published_at": "2026-10-14T18:27:24.863Z",
  "title": "dbt: Unauthenticated Arbitrary SQL Execution in `dbt docs serve`",
  "vendor": "dbt-labs",
  "product": "dbt-core",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cna": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "dbt-labs",
        "product": "dbt-core",
        "ranges": [
          "\u003e= 2.0.0-alpha.0, \u003c 2.0.0-alpha.5"
        ],
        "fixed_in": [
          "2.0.0-alpha.5"
        ]
      }
    ],
    "upgrade": [
      "Upgrade dbt-core to 2.0.0-alpha.5 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/dbt-labs/dbt/security/advisories/GHSA-h2j2-2r7g-rff8"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/dbt-labs/dbt/commit/3a5d26fe02b58382720d04cbd87143b7b6775413"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/dbt-labs/dbt/releases/tag/v2.0.0-alpha.5"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
