CVE-2026-29790

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductGetdbt Dbt-common
PublishedMar 6, 2026
First seenMar 6, 2026

How to fix

Update
  • getdbt dbt-common1.34.2, 1.37.3 or later
  • dbt-common1.34.2, 1.37.3 or later

Affected products

ProductAffected versionsFixed in
getdbt dbt-commonv < 1.34.2, 1.35.0 ≤ v < 1.37.31.34.2, 1.37.3
dbt-commonPyPIv < 1.34.2, 1.35.0 ≤ v < 1.37.31.34.2, 1.37.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.