PT-2026-23610 · Unknown · Dbt-Common

Sethmlarson

·

Published

2026-03-05

·

Updated

2026-03-13

·

CVE-2026-29790

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions dbt-common versions prior to 1.34.2 dbt-common versions prior to 1.37.3
Description A path traversal issue exists in the safe extract() function of dbt-common when extracting tarball archives. The function uses os.path.commonprefix() to validate file paths, but this function compares paths character-by-character instead of by path components. This allows a malicious tarball to write files to sibling directories with matching name prefixes. For example, when extracting to /tmp/packages, a crafted tarball could write files to /tmp/packagesevil/. The vulnerability affects users who install dbt packages from untrusted sources or process tarball archives through dbt-common's extraction utilities. The fix replaces os.path.commonprefix() with os.path.commonpath(), which correctly compares paths by their components.
Recommendations Upgrade to dbt-common version 1.34.2 or later. Upgrade to dbt-common version 1.37.3 or later. Only install dbt packages from trusted sources. Avoid installing packages from untrusted URLs or unverified third parties. Review package contents before installation when sourcing from external locations.

Exploit

Fix

Path traversal

Weakness Enumeration

Related Identifiers

CVE-2026-29790
GHSA-W75W-9QV4-J5XJ

Affected Products

Dbt-Common