Skip to main content

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CVE-2026-29790

Severity Low
Score 2/10

Summary

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. Versions prior to 1.34.2 and 1.35.x through 1.37.x prior to 1.37.3 are affected.

  • LOW
  • NETWORK
  • ACTIVE
  • LOW

CWE-22 - Path Traversal

Path traversal (or directory traversal), is a vulnerability that allows malicious users to traverse the server's root directory, gaining access to arbitrary files and folders such as application code & data, back-end credentials, and sensitive operating system files. In the worst-case scenario, an attacker could potentially execute arbitrary files on the server, resulting in a denial of service attack. Such an exploit may severely impact the integrity, confidentiality, and availability of an application.

Advisory Timeline

  • Published