rewindex

RewindexCVEsdbt Labs

CVE-2026-29790: dbt-common: commonprefix() doesn't protect against path traversal

Medium · CVSS 5.3 (CVSS 3.1)EPSS 0.28%, 20th percentilePublished Updated Assigner: GitHub_M

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.

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N · CWE-22

Tracked companies

dbt Labs

Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.

Status incidents that name it

No tracked status incident names this CVE.

Affected vendors and products

dbt-labs: dbt-common

References

All CVEsMarkdownJSON