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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-w75w-9qv4-j5xj dbt-common's commonprefix() doesn't protect against path traversal
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 13 Mar 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Getdbt
Getdbt dbt-common
CPEs cpe:2.3:a:getdbt:dbt-common:*:*:*:*:*:*:*:*
Vendors & Products Getdbt
Getdbt dbt-common
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}


Mon, 09 Mar 2026 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 09 Mar 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Dbt-labs
Dbt-labs dbt-common
Vendors & Products Dbt-labs
Dbt-labs dbt-common

Fri, 06 Mar 2026 21:00:00 +0000

Type Values Removed Values Added
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.
Title dbt-common: commonprefix() doesn't protect against path traversal
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-09T20:54:30.453Z

Reserved: 2026-03-04T16:26:02.900Z

Link: CVE-2026-29790

cve-icon Vulnrichment

Updated: 2026-03-09T20:51:44.447Z

cve-icon NVD

Status : Analyzed

Published: 2026-03-06T21:16:15.630

Modified: 2026-03-13T18:31:00.637

Link: CVE-2026-29790

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-03-09T10:06:59Z

Weaknesses