CVE-2026-29790
March 06, 2026
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.
Affected Packages
dbt-common (CONDA):
Affected version(s) >=1.35.0 <1.37.3Fix Suggestion:
Update to version 1.37.3dbt-common (CONDA):
Affected version(s) >=1.0.4 <1.34.2Fix Suggestion:
Update to version 1.34.2https://github.com/dbt-labs/dbt-common.git (GITHUB):
Affected version(s) >=v1.3.0 <v1.34.2Fix Suggestion:
Update to version v1.34.2dbt-common (PYTHON):
Affected version(s) >=1.35.0 <1.37.3Fix Suggestion:
Update to version 1.37.3dbt-common (PYTHON):
Affected version(s) >=0.1.0a1 <1.34.2Fix Suggestion:
Update to version 1.34.2Related ResourcesĀ (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
User Interaction
ACTIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.07