# dbt-core's secret env vars written to package-lock.json in plaintext

Source: https://junglewise.ai/threats/dbt-core-s-secret-env-vars-written-to-package-lock-json-in-plaintext-cdb14975  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-12-08  
License: CC BY 4.0 with a link back

Severity: low · CVSS 3.1 · Published 2023-12-08

dbt-core's secret env vars written to package-lock.json in plaintext

Technologies: [dbt-core (PyPI)](https://junglewise.ai/threats/technologies/pypi-dbt-core). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Low severity, with a CVSS score of 3.1, published 8 December 2023.

**Which products and versions are affected?** dbt-core (PyPI) ECOSYSTEM:introduced=1.7.0,fixed=1.7.3.

**Is there a fix for This vulnerability?** Yes. dbt-core (PyPI): upgrade to 1.7.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run dbt-core (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- dbt-core (PyPI): upgrade to 1.7.3 or later

  ```sh
  pip install "dbt-core>=1.7.3"
  ```


## Affected products

- dbt-core (PyPI) ECOSYSTEM:introduced=1.7.0,fixed=1.7.3

## Related threats

- [PYSEC-2026-1292 - dbt allows Binding to an Unrestricted IP Address via socketsocket](https://junglewise.ai/threats/cve-2024-36105-dbt-allows-binding-to-an-unrestricted-ip-address-via-socketsocket)
- [PYSEC-2024-66 - dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.](https://junglewise.ai/threats/cve-2024-40637-dbt-has-an-implicit-override-for-built-in-materializations-from)
- [dbt uses a SQLparse version with a high vulnerability](https://junglewise.ai/threats/dbt-uses-a-sqlparse-version-with-a-high-vulnerability-3854f6ed)
