CVE-2026-29790

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

MEDIUM
5.3
CVSS Score
Published: March 6, 2026 at 08:37 PM UTC
Updated: June 17, 2026 at 10:29 AM UTC
2 products affected across 2 vendorsDbt CommonDbt Common

Using dbt-common by dbt-labs?

Get instant alerts when new vulnerabilities affect dbt-common - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.34.21.35.0 ≤ v < 1.37.3
v < 1.34.2v < 1.37.3
Affected range stops below 1.34.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.37.3, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

x_refsource_CONFIRMMitigationVendor Advisory
Source: cverecord
https://github.com/dbt-labs/dbt-common/security/advisories/GHSA-w75w-9qv4-j5xj
x_refsource_MISCIssue Tracking
Source: cverecord
https://github.com/pypa/pip/pull/13777

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card