Vulnerability
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.
6 advisories report this vulnerability, across 2 ecosystems.
Advisories
- CGA-4r4h-2mrv-px7r
- CGA-6f77-x74j-w7qg
- CGA-rmvp-x2mg-h978
- CGA-vp8v-r72g-f2x3
-
GHSA-w75w-9qv4-j5xj
dbt-common's commonprefix() doesn't protect against path traversal
-
PYSEC-2026-2440
dbt-common's commonprefix() doesn't protect against path traversal