Directory Traversal Affecting dbt-bigquery package, versions <1.10.3-r1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.4% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-DBTBIGQUERY-17238827
  • published8 Jun 2026
  • disclosed6 Mar 2026

Introduced: 6 Mar 2026

CVE-2026-29790  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Chainguard dbt-bigquery to version 1.10.3-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dbt-bigquery package and not the dbt-bigquery package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1