{"answers":{"affected":"5 open source packages ship an affected version, including dbt-common. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-29790 in the wild and no public exploit code.","fix":"Upgrade dbt-common to a fixed version for your release line: 1.34.2 or 1.37.3.","what":"CVE-2026-29790 is a low-severity path traversal vulnerability in dbt-labs dbt-common, published on 6 Mar 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-29790 and fix it if it is affected.\n\nWhat it is: CVE-2026-29790 is a low-severity path traversal vulnerability in dbt-labs dbt-common, published on 6 Mar 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-29790 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- dbt-common (PyPI): affected all versions; fixed in 1.34.2, 1.37.3\n- dbt-common (PyPI): affected all versions; fixed in 1.34.2\n- dbt-common (PyPI): affected all versions; fixed in 1.34.2\n- dbt-common (PyPI): affected from 1.35.0; fixed in 1.37.3\n- dbt-common (PyPI): affected from 1.35.0; fixed in 1.37.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-29790/ (Markdown: https://insights.sbomify.com/CVE-2026-29790/index.md)","id":"CVE-2026-29790","markdown":"https://insights.sbomify.com/CVE-2026-29790/index.md","name":"CVE-2026-29790","record":{"aliases":["GHSA-w75w-9qv4-j5xj","MINI-jcm3-5cvm-wjp9","PYSEC-2026-2440"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"dbt common utilities","requires_auth":"low_privilege","summary":"A path traversal flaw in dbt-common allows malicious tarballs to write files outside the intended directory via flawed prefix validation.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"dbt-common","vendor":"getdbt"}],"cvss":{"score":2,"severity":"low","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"dbt-common: commonprefix() doesn't protect against path traversal","id":"CVE-2026-29790","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":5,"n_references":3,"next":{"headline":"Agentgateway: Missing parameter sanitization in MCP to OpenAPI conversion","id":"CVE-2026-29791"},"packages":[{"ecosystem":"PyPI","fixed":["1.34.2","1.37.3"],"introduced":["0","1.35.0"],"last_affected":[],"package":"dbt-common","purl":"pkg:pypi/dbt-common","source":"PYSEC-2026-2440"},{"ecosystem":"PyPI","fixed":["1.34.2"],"introduced":["0"],"last_affected":[],"package":"dbt-common","purl":null,"source":"GHSA-w75w-9qv4-j5xj"},{"ecosystem":"PyPI","fixed":["1.34.2"],"introduced":["0"],"last_affected":[],"package":"dbt-common","purl":"pkg:pypi/dbt-common","source":"GHSA-w75w-9qv4-j5xj"},{"ecosystem":"PyPI","fixed":["1.37.3"],"introduced":["1.35.0"],"last_affected":[],"package":"dbt-common","purl":null,"source":"GHSA-w75w-9qv4-j5xj"},{"ecosystem":"PyPI","fixed":["1.37.3"],"introduced":["1.35.0"],"last_affected":[],"package":"dbt-common","purl":"pkg:pypi/dbt-common","source":"GHSA-w75w-9qv4-j5xj"}],"prev":{"headline":"Vito: Cross-project privilege escalation in workflow site-creation actions allows unauthorized server modification","id":"CVE-2026-29789"},"products":["dbt-common"],"published":"2026-03-06","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-09","vendors":["dbt-labs"]},"summary":"A path traversal flaw in dbt-common allows malicious tarballs to write files outside the intended directory via flawed prefix validation.","url":"https://insights.sbomify.com/CVE-2026-29790/"}