Live threats

All CVEs / Getdbt

CVE-2024-40637Getdbt Dbt-core

High 7.3

Priority
44
CVSS 3.1
7.3
EPSS
0.5%
probability of exploitation in 30 days · percentile 39
Auth required
Yes
Published
Jul 16, 2024
Updated
Oct 30, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-74, CWE-94
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

What happens

dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications. When a user installs a package in dbt, it has the ability to override macros, materializations, and other core components of dbt. This is by design, as it allows packages to extend and customize dbt's functionality. However, this also means that a malicious package could potentially override these components with harmful code. This issue has been fixed in versions 1.8.0, 1.6.14 and 1.7.14. Users are advised to upgrade. There are no kn own workarounds for this vulnerability. Users updating to either 1.6.14 or 1.7.14 will need to set `flags.require_explicit_package_overrides_for_builtin_materializations: False` in their configuration in `dbt_project.yml`.

Original NVD text.

What to do

  1. Apply the vendor's security update for Dbt-core.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI dbt-core ≥ 1.6.0 < 1.6.14 1.6.14 pip install "dbt-core>=1.6.14"
PyPI dbt-core ≥ 1.7.0 < 1.7.14 1.7.14 pip install "dbt-core>=1.7.14"
PyPI dbt-core ≥ 1.7.0 < 1.7.14 1.7.14 pip install "dbt-core>=1.7.14"
PyPI dbt-core < 1.6.14 1.6.14 pip install "dbt-core>=1.6.14"

Per OSV / GitHub Advisories (GHSA-p3f3-5ccg-83xq, PYSEC-2024-66). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
getdbtdbt-core≥ 1.6.0 < 1.6.14
getdbtdbt-core≥ 1.7.0 < 1.7.14

Official sources

References

Links published by the sources. Open them with care.