# CVE-2024-37372: Node.js 20 and 1 other: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CVE-2024-37372 is fixed in 3 products on 2 platforms, first by Node.js 20 20.15.1, released July 8, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-37372
- Priority: Routine
- CVSS: 3.6
- EPSS: 0.0049
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 22, 2024
- Weakness: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- Vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-37372

## Description

The Permission Model assumes that any path starting with two backslashes \ has a four-character prefix that can be ignored, which is not always true. This subtle bug leads to vulnerable edge cases.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | Node.js 20 | 20.15.1 | [Node.js 20 20.15.1](https://patchblox.com/security/data/fix/windows-app/openjs.nodejs.20-20.15.1.md) | Jul 8, 2024 |
| Windows apps | Node.js 22 | 22.4.1 | [Node.js 22 22.4.1](https://patchblox.com/security/data/fix/windows-app/openjs.nodejs.22-22.4.1.md) | Jul 8, 2024 |
| Linux | nodejs20 opensuse-leap 15.6 | 20.15.1-150600.3.3.2 | [SUSE-SU-2024:2574-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2574-1.md) | Jul 22, 2024 |
| Linux | nodejs20 sles 15.6 | 20.15.1-150600.3.3.2 | [SUSE-SU-2024:2574-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2574-1.md) | Jul 22, 2024 |

---

Data as of 2026-11-07T18:46:35Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
