Description
`fs.mkdtemp()` and `fs.mkdtempSync()` can be used to bypass the permission model check using a path traversal attack. This flaw arises from a missing check in the fs.mkdtemp() API and the impact is a malicious actor could create an arbitrary directory. This vulnerability affects all users using the experimental permission model in Node.js 20. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.
References
https://hackerone.com/reports/2037887
https://security.netapp.com/advisory/ntap-20230915-0009/
https://hackerone.com/reports/2037887
https://security.netapp.com/advisory/ntap-20230915-0009/
CVSS impact metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
5.3 · Medium
Information
Source identifier
Vulnerability status
Modified
Published
2023-08-15T14:15:10.970Z
2 years agoLast modified
2025-07-03T12:15:24.603Z
8 months ago