CVE-2026-29790

Source
https://cve.org/CVERecord?id=CVE-2026-29790
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-29790.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-29790
Aliases
Published
2026-03-06T20:37:42.354Z
Modified
2026-04-02T13:23:05.525420Z
Severity
  • 2.0 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
dbt-common: commonprefix() doesn't protect against path traversal
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/29xxx/CVE-2026-29790.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

Git / github.com/dbt-labs/dbt-common

Affected ranges

Type
GIT
Repo
https://github.com/dbt-labs/dbt-common
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*
v1.3.0
v1.34.0

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "fixed": "1.34.2"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "1.35.0"
            },
            {
                "fixed": "1.37.3"
            }
        ]
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-29790.json"