CVE-2026-29790

Severity CVSS v4.0:
LOW
Type:
CWE-22 Path Traversal
Publication date:
06/03/2026
Last modified:
13/03/2026

Description

dbt-common is the shared common utilities for dbt-core and adapter implementations use. Prior to versions 1.34.2 and 1.37.3, a path traversal vulnerability exists in dbt-common's safe_extract() function used when extracting tarball archives. The function uses os.path.commonprefix() to validate that extracted files remain within the intended destination directory. However, commonprefix() compares paths character-by-character rather than by path components, allowing a malicious tarball to write files to sibling directories with matching name prefixes. This issue has been patched in versions 1.34.2 and 1.37.3.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:getdbt:dbt-common:*:*:*:*:*:*:*:* 1.34.2 (excluding)
cpe:2.3:a:getdbt:dbt-common:*:*:*:*:*:*:*:* 1.35.0 (including) 1.37.3 (excluding)