{"cve":"CVE-2026-29790","nvd":{"published":"2026-03-06T21:16:15.630","modified":"2026-06-17T10:29:53.530","status":"Analyzed","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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":2.0},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3},"cwes":["CWE-22"],"references":["https://github.com/dbt-labs/dbt-common/commit/e547954a48bac9394ef6eb98432e429dce9a7709","https://github.com/dbt-labs/dbt-common/security/advisories/GHSA-w75w-9qv4-j5xj","https://github.com/pypa/pip/pull/13777"],"products":["getdbt:dbt-common"],"source":"nvd","synced_at":"2026-10-19T22:25:53.701907451+00:00"},"epss":{"cve":"CVE-2026-29790","score":0.00306,"percentile":0.23467,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-w75w-9qv4-j5xj","url":"https://osv.dev/vulnerability/GHSA-w75w-9qv4-j5xj","summary":"dbt-common's commonprefix() doesn't protect against path traversal","modified":"2026-09-10T03:50:41.434044516Z","packages":[{"ecosystem":"PyPI","name":"dbt-common","purl":"pkg:pypi/dbt-common","ranges":["<1.34.2"],"fixed":["1.34.2"]},{"ecosystem":"PyPI","name":"dbt-common","purl":"pkg:pypi/dbt-common","ranges":[">=1.35.0 <1.37.3"],"fixed":["1.37.3"]}]},{"id":"PYSEC-2026-2440","url":"https://osv.dev/vulnerability/PYSEC-2026-2440","summary":"dbt-common's commonprefix() doesn't protect against path traversal","modified":"2026-07-13T16:31:42.929992505Z","packages":[{"ecosystem":"PyPI","name":"dbt-common","purl":"pkg:pypi/dbt-common","ranges":["<1.34.2",">=1.35.0 <1.37.3"],"fixed":["1.34.2","1.37.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}