Path Traversal in Dbt-Labs Dbt-Common
CVE-2026-29790
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS: 0.004 (31.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 31st percentile — 31.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.001
Affected products
- Dbt-Labs Dbt-Common — versions < 1.37.3, < 1.34.2
- Getdbt Dbt-Common
Weakness classification (CWE)
References
- github.com/dbt-labs/dbt-common/security/advisories/GHSA-w75w-9qv4-j5xj (Mitigation, Vendor Advisory)
- github.com/pypa/pip/pull/13777 (Issue Tracking)
- github.com/dbt-labs/dbt-common/commit/e547954a48bac9394ef6eb98432e429dce9a7709 (Patch)
Frequently asked questions
- What is CVE-2026-29790?
- CVE-2026-29790 is a medium-severity vulnerability in Dbt-Labs Dbt-Common, classified under Path Traversal. CVSS score: 5.3/10. Published 2026-03-06.
- How severe is CVE-2026-29790?
- Medium severity. CVSS v3 base score is 5.3 out of 10.