Directory Traversal Affecting dbt-snowflake package, versions <1.10.4-r2


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.26% (18th 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-DBTSNOWFLAKE-17238871
  • 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-snowflake to version 1.10.4-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dbt-snowflake package and not the dbt-snowflake 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