CVE-2023-39332
CWE-22Published: October 18, 2023· Updated: Jun 17, 2026
Official Description
Various `node:fs` functions allow specifying paths as either strings or `Uint8Array` objects. In Node.js environments, the `Buffer` class extends the `Uint8Array` class. Node.js prevents path traversal through strings (see CVE-2023-30584) and `Buffer` objects (see CVE-2023-32004), but not through non-`Buffer` `Uint8Array` objects.
This is distinct from CVE-2023-32004 which only referred to `Buffer` objects. However, the vulnerability follows the same pattern using `Uint8Array` instead of `Buffer`.
Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.
Risk Analysis
Node.js is vulnerable to path traversal when using non-Buffer Uint8Array objects in file system functions. This allows attackers to access files outside the intended directory, posing a significant security risk.
No public exploit is known, and the vulnerability is not in the KEV catalog. It is remotely exploitable with low complexity.
Update Node.js to the latest patched version and avoid using untrusted input in file system paths.
Technical Analysis
CVE-2023-39332 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (7)
Quick Facts
Related CVEs (CWE-22)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2023-39332 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts