CVE-2024-40637: dbt-core · Injection
Affects dbt-coreSource GCVE Database
Not known to be exploited · CVSS 4.2 Medium : upgrade to 1.7.14 or 1.6.14 when convenient.
Data as of 30 Oct 2026, 15:35 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 4.2 |
|---|
- Patch
- Available – fixed in 1.7.14, 1.6.14
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 16 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade dbt-core to 1.7.14 or 1.6.14.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| dbt-labs dbt-core | Affected
| Fixed in
|
AI-suggested
Users should upgrade to dbt-core versions 1.6.14 or 1.7.14 to remediate this vulnerability. After upgrading, users must set 'flags.require_explicit_package_overrides_for_builtin_materializations: False' in the dbt_project.yml configuration file to maintain compatibility. There are no known workarounds. Applying the official fix is the recommended mitigation.
Description
CVE-2024-40637 is an injection vulnerability in dbt-labs dbt-core that arises because installed packages can override core components such as macros and materializations. This design feature allows customization but also enables malicious packages to inject harmful code. The vulnerability affects versions prior to 1.6.14 and versions from 1.7.0 up to but not including 1.7.14. Fixed versions are 1.6.14 and 1.7.14. Users upgrading to 1.6.14 or 1.7.14 must set a specific configuration flag to maintain compatibility. The CVSS score is 4.2 (medium severity).
References
- github.com/dbt-labs/dbt-core/security/advisories/GHSA-p3f3-5ccg-83xq (opens in a new tab)
- github.com/dbt-labs/dbt-core/commit/3c82a0296d227cb1be295356df314c11716f4ff6 (opens in a new tab)
- github.com/dbt-labs/dbt-core/commit/87ac4deb00cc9fe334706e42a365903a1d581624 (opens in a new tab)
- docs.getdbt.com/docs/build/packages (opens in a new tab)
- docs.getdbt.com/reference/global-configs/legacy-behaviors (opens in a new tab)
- tempered.works/posts/2024/07/06/preventing-data-theft-with-gcp-service-controls (opens in a new tab)
- elementary-data.com/post/are-dbt-packages-secure-the-answer-lies-in-your-dwh-policies (opens in a new tab)
- equalexperts.com/blog/tech-focus/are-you-at-risk-from-this-critical-dbt-vulnerability (opens in a new tab)