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)
EPSS: 0.003 (17.9th percentile) — read the EPSS interpretation.
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.
Affected products
- Dbt-labs Dbt-common — versions < 1.37.3, < 1.34.2
- Getdbt Dbt-common
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Mitigation, Vendor Advisory)
- security-advisories@github.com (x_refsource_MISC, Issue Tracking)
- security-advisories@github.com (Patch, x_refsource_MISC)
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.