# CVE-2023-39332: Various node:fs functions allow specifying paths as either strings or Uint8Array objects.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 2.19%, higher than 82% of CVEs (2026-12-01)
- Published: 2023-10-18T03:55:18.469Z
- Modified: 2026-09-08T08:48:17.630Z
- Also known as: BIT-NODE-2023-39332, BIT-NODE-MIN-2023-39332
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: hackerone

## 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.

(As written by CVE List.)

## Affected

- NodeJS Node: from 4.0 before 4.*; from 5.0 before 5.*; from 6.0 before 6.*; from 7.0 before 7.*; from 8.0 before 8.*; from 9.0 before 9.*; from 10.0 before 10.*; from 11.0 before 11.*; from 12.0 before 12.*; from 13.0 before 13.*; from 14.0 before 14.*; from 15.0 before 15.*; and 4 more
- nodejs node.js: from 20.0.0 before 20.8.0
- fedoraproject fedora: 39
- node (Bitnami): from 20.0.0 before 20.8.0
- node-min (Bitnami): from 20.0.0 before 20.8.0

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://hackerone.com/reports/2199818> (advisory, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3N4NJ7FR4X4FPZUGNTQAPSTVB2HB2Y4A/> (discussion, mailing-list)
- <https://security.netapp.com/advisory/ntap-20231116-0009/> (advisory, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20241108-0002/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-39332> (web)

## Sources

- CVE List: [CVE-2023-39332](https://www.cve.org/CVERecord?id=CVE-2023-39332), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2023-39332](https://nvd.nist.gov/vuln/detail/CVE-2023-39332), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-NODE-2023-39332](https://osv.dev/vulnerability/BIT-NODE-2023-39332), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-NODE-MIN-2023-39332](https://osv.dev/vulnerability/BIT-NODE-MIN-2023-39332), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-39332 · Whole record: https://cve.day/CVE-2023-39332.json · Rebuilt by cve.day 2026-11-25T22:58:28.899Z
