Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-100406— dbt: Unauthenticated Arbitrary SQL Execution in `dbt docs serve`

Quick assessment

Affected
dbt-labs dbt-core
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

dbt 使数据分析师和工程师能够采用与软件工程师构建应用程序相同的最佳实践来转换数据。在 2.0.0-alpha.0 至 2.0.0-alpha.5 版本中,dbt docs server 模块(位于 crates/dbt-docs-server/src/handlers/query.rs)暴露了一个未经身份验证的 POST /api/v1/query 端点。该端点在未经过授权检查和白名单校验的情况下,会将客户端提交的 SQL 语句传递给 crates/dbt-index-core/src/backend.rs 中

CVSS 8.2 · High EPSS 0.35% · P27

Affected Version Matrix 1

VendorProduct Version RangeStatus
dbt-labs dbt-core >= 2.0.0-alpha.0, < 2.0.0-alpha.5 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-100406

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
dbt: Unauthenticated Arbitrary SQL Execution in `dbt docs serve`
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
dbt-labs dbt-core >= 2.0.0-alpha.0, < 2.0.0-alpha.5 -

II. Public POCs for CVE-2026-100406

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-100406

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-100406 (1)

Other References for CVE-2026-100406 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-100406

No comments yet


Leave a comment