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
Downstream
CGA (4)
MINI (1)
Published
2026-03-06T20:37:42Z
Modified
2026-10-28T02:31:07Z
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
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/29xxx/CVE-2026-29790.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "range": [
                        {
                            "fixed": "1.37.3"
                        },
                        {
                            "fixed": "1.34.2"
                        }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                }
            ]
        },
        {
            "extracted_events": [
                {
                    "range": [
                        {
                            "fixed": "1.34.2"
                        },
                        {
                            "fixed": "1.34.2"
                        }
                    ],
                    "source": "DESCRIPTION"
                }
            ]
        }
    ]
}
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
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "fixed": "e547954a48bac9394ef6eb98432e429dce9a7709"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v1.*
v1.3.0
v1.34.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-29790.json"