Read the docs
TI-2026-23376 Aliases CVE-2026-29790GHSA-w75w-9qv4-j5xj

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

Priority LOW 11CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Active
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00306 23rd percentileScored 2026-11-07
Fix Fixed dbt-common (dbt-labs): 1.37.3, 1.34.2dbt-common (PyPI): 1.34.2, 1.37.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
dbt-labsdbt-commonbefore 1.37.3; before 1.34.21.37.3, 1.34.2Patch availableCNA
—dbt-common (PyPI)before 1.34.21.34.2Patch availableGHSA-w75w-9qv4-j5xj
—dbt-common (PyPI)1.35.0 to before 1.37.31.37.3Patch availableGHSA-w75w-9qv4-j5xj
  • dbt-common Vendordbt-labs Affected before 1.37.3; before 1.34.2 Fixed in 1.37.3, 1.34.2 Patch available CNA
  • dbt-common (PyPI) Vendor— Affected before 1.34.2 Fixed in 1.34.2 Patch available GHSA-w75w-9qv4-j5xj
  • dbt-common (PyPI) Vendor— Affected 1.35.0 to before 1.37.3 Fixed in 1.37.3 Patch available GHSA-w75w-9qv4-j5xj

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:getdbt:dbt-common:*:*:*:*:*:*:*:*before 1.34.2; 1.35.0 to before 1.37.3Vulnerabledbt-labs
  • cpe:2.3:a:getdbt:dbt-common:*:*:*:*:*:*:*:* Versions before 1.34.2; 1.35.0 to before 1.37.3 Vulnerable ·dbt-labs

Remediation

  • Fix · CNA dbt-common (dbt-labs) Fixed in 1.37.3, 1.34.2
  • Fix · GHSA-w75w-9qv4-j5xj dbt-common (PyPI) Fixed in 1.34.2 Advisory →
  • Fix · GHSA-w75w-9qv4-j5xj dbt-common (PyPI) Fixed in 1.37.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-29790
  2. 2026-10-03 Alias added: GHSA-w75w-9qv4-j5xj

References

Sources