Security mailing lists by PureSourceCode

CVE-2024-40637

HIGH 7.3CVSS 3.1

dbt has an implicit override for built-in materializations from installed packages

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.

Published
16 Jul 2024
Last modified
30 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-74CWE-89CWE-913CWE-94
Also known as
GHSA-p3f3-5ccg-83xqPYSEC-2024-66
Sources
NVDJSONOSV GHSA-p3f3-5ccg-83xqJSONOSV PYSEC-2024-66JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
OSV PyPA CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.2 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 4.2 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD getdbt dbt-core
cpe:2.3:a:getdbt:dbt-core:*:*:*:*:*:python:*:*
>= 1.6.0, < 1.6.14 1.6.14
NVD getdbt dbt-core
cpe:2.3:a:getdbt:dbt-core:*:*:*:*:*:python:*:*
>= 1.7.0, < 1.7.14 1.7.14
OSV PyPI dbt-core >= 1.6.0, < 1.6.14 1.6.14
OSV PyPI dbt-core >= 1.7.0, < 1.7.14 1.7.14
OSV PyPI dbt-core >= 1.7.0, < 1.7.14; < 1.6.14 1.7.14, 1.6.14

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 16 Jul 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 16 Jul 2024)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 Jul 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.