CVE-2026-29790 Details
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.
A path traversal vulnerability has been identified in dbt-common, specifically in versions prior to 1.34.2 and 1.37.3. The issue arises in the safe_extract() function, which is responsible for extracting tarball archives. The vulnerability allows a malicious tarball to write files to sibling directories with matching name prefixes, bypassing the intended destination directory. This is possible because the function uses os.path.commonprefix() for validation, which compares paths character-by-character instead of by components. Users who install dbt packages from untrusted sources and process tarball archives with dbt-common's extraction utilities are affected. The vulnerability has been patched in dbt-common versions 1.34.2 and 1.37.3.
Users should upgrade to dbt-common versions 1.34.2 or 1.37.3. For dbt-core users, the patched versions are 1.11.7 and 1.10.20.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/dbt-labs/dbt-common/commit/e547954a48bac9394ef6eb98432e429dce9a7709 | [email protected] | Patch |
| https://github.com/dbt-labs/dbt-common/security/advisories/GHSA-w75w-9qv4-j5xj | [email protected] | MitigationVendor Advisory |
| https://github.com/pypa/pip/pull/13777 | [email protected] | Issue Tracking |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| getdbt dbt-common | < 1.34.2 >= 1.35.0, < 1.37.3 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 13, 2026 | Initial Analysis | [email protected] |
| Mar 6, 2026 | New CVE Received | [email protected] |