CVE-2026-29790
dbt-common is the shared common utilities for dbt-core and adapter …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/dbt-labs/dbt-common/security/advisories/GHSA-w75w-9qv4-j5xj
- github.com/pypa/pip/pull/13777
- github.com/dbt-labs/dbt-common/commit/e547954a48bac9394ef6eb98432e429dce9a7709
- docs.python.org/3/library/os.path.html#os.path.commonpath
- github.com/advisories/GHSA-6vgw-5pg2-w6jp
- github.com/advisories/GHSA-w75w-9qv4-j5xj
- nvd.nist.gov/vuln/detail/CVE-2026-29790
- nvd.nist.gov/vuln/detail/CVE-2026-29790
- cve.org/CVERecord?id=CVE-2026-29790
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.