🔍 CVE-2026-100406

0.0
CVSS Score
UNKNOWN
2026-10-14
2026-10-20 02:17
✅ 완료

🇰🇷 한글 설명

dbt 2.0.0-alpha.0부터 2.0.0-alpha.5 버전 사이의 dbt docs server에서 인증되지 않은 사용자가 POST /api/v1/query 엔드포인트를 통해 임의의 SQL을 실행할 수 있는 취약점이 발견되었습니다. 공격자는 DuckDB의 파일 읽기 기능을 악용하여 dbt 프로세스가 접근 가능한 시스템 내의 임의 파일을 읽을 수 있습니다. 이 문제는 2.0.0-alpha.5 버전에서 수정되었습니다.

💡 쉬운 설명

데이터 분석 도구인 dbt의 문서 서버에 누구나 접근하여 명령을 내릴 수 있는 보안 구멍이 있습니다. 이를 통해 해커가 서버 안에 있는 중요한 파일들을 몰래 훔쳐볼 수 있는 위험이 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

dbt (versions 2.0.0-alpha.0 to 2.0.0-alpha.5)

⚔️ 공격 벡터

인증되지 않은 사용자가 네트워크를 통해 dbt docs server의 API 엔드포인트로 악의적인 SQL 쿼리를 전송

🛡️ 대응 방법

dbt 버전을 2.0.0-alpha.5 이상으로 업데이트하거나, 서버가 외부 네트워크에 노출되지 않도록 설정

🔧 검증 코드

명령어 결과에 취약한 버전 범위(2.0.0-alpha.0 ~ 2.0.0-alpha.5)가 나타나면 해당 버전이 설치된 상태입니다.

Shell / Script
dbt --version | grep -E '2.0.0-alpha.[0-5]'

💻 영향받는 소프트웨어

SQL Server