# CVE-2024-37150: Private npm registry support used scope auth token for downloading tarballs

- Severity: High 7.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 51% of CVEs (2026-11-30)
- Published: 2024-06-06T15:28:14.216Z
- Modified: 2026-06-17T07:37:50.880Z
- Weaknesses: CWE-200, CWE-706
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

An issue in `.npmrc` support in Deno 1.44.0 was discovered where Deno would send `.npmrc` credentials for the scope to the tarball URL when the registry provided URLs for a tarball on a different domain. All users relying on .npmrc are potentially affected by this vulnerability if their private registry references tarball URLs at a different domain. This includes usage of deno install subcommand, auto-install for npm: specifiers and LSP usage. It is recommended to upgrade to Deno 1.44.1 and if your private registry ever serves tarballs at a different domain to rotate your registry credentials.

(As written by CVE List.)

## Affected

- denoland deno: = 1.44.0
- deno deno: 1.44.0

## Every score

- GitHub_M: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/denoland/deno/security/advisories/GHSA-rfc6-h225-3vxv> (vendor-advisory)
- <https://github.com/denoland/deno/commit/566adb7c0a0c0845e90a6e867a2c0ef5d2ada575> (patch)
- <https://github.com/npm/cli/wiki/%22No-auth-for-URI,-but-auth-present-for-scoped-registry%22> (not-applicable)

## Sources

- CVE List: [CVE-2024-37150](https://www.cve.org/CVERecord?id=CVE-2024-37150), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2024-37150](https://nvd.nist.gov/vuln/detail/CVE-2024-37150), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-37150 · Whole record: https://cve.day/CVE-2024-37150.json · Rebuilt by cve.day 2026-11-25T22:58:41.483Z
