CVE-2024-40637

Public Exploit
Implicit override for built-in materializations from installed packages in dbt-core

Description

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`.

Categories

4.2
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.07%
Vendor Advisory getdbt.com Vendor Advisory github.com
Affected: dbt-labs dbt-core
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-40637?
CVE-2024-40637 has been scored as a medium severity vulnerability.
How to fix CVE-2024-40637?
To fix CVE-2024-40637, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-40637 being actively exploited in the wild?
It is possible that CVE-2024-40637 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-40637?
CVE-2024-40637 affects dbt-labs dbt-core.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.