Home

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.

PUBLISHED Reserved 2026-03-04 | Published 2026-03-06 | Updated 2026-03-06 | Assigner GitHub_M




LOW: 2.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

< 1.37.3
affected

< 1.34.2
affected

References

github.com/...common/security/advisories/GHSA-w75w-9qv4-j5xj

github.com/pypa/pip/pull/13777

github.com/...ommit/e547954a48bac9394ef6eb98432e429dce9a7709

cve.org (CVE-2026-29790)

nvd.nist.gov (CVE-2026-29790)

Download JSON