{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-32003","id":"CVE-2023-32003","title":"`fs.mkdtemp()` and `fs.mkdtempSync()` can be used to bypass the permission model check using a path traversal attack","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.\n\nThis vulnerability affects all users using the experimental permission model in Node.js 20.\n\nPlease note that at the time this CVE was issued, the","descriptionLong":"`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.\n\nThis vulnerability affects all users using the experimental permission model in Node.js 20.\n\nPlease note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.","published":"2023-08-15T15:10:29.363Z","updated":"2026-10-28T02:30:50.926272131Z","reserved":"2023-05-01T01:00:12.220Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["NodeJS Node"],"affectedProducts":[{"vendor":"NodeJS","product":"Node","defaultStatus":"unaffected","versions":[{"versionType":"semver","version":"4.0","status":"affected","lessThan":"4.*"},{"versionType":"semver","version":"5.0","status":"affected","lessThan":"5.*"},{"versionType":"semver","version":"6.0","status":"affected","lessThan":"6.*"},{"versionType":"semver","version":"7.0","status":"affected","lessThan":"7.*"},{"versionType":"semver","version":"8.0","status":"affected","lessThan":"8.*"},{"versionType":"semver","version":"9.0","status":"affected","lessThan":"9.*"},{"versionType":"semver","version":"10.0","status":"affected","lessThan":"10.*"},{"versionType":"semver","version":"11.0","status":"affected","lessThan":"11.*"},{"versionType":"semver","version":"12.0","status":"affected","lessThan":"12.*"},{"versionType":"semver","version":"13.0","status":"affected","lessThan":"13.*"},{"versionType":"semver","version":"14.0","status":"affected","lessThan":"14.*"},{"versionType":"semver","version":"15.0","status":"affected","lessThan":"15.*"},{"versionType":"semver","version":"17.0","status":"affected","lessThan":"17.*"},{"versionType":"semver","version":"19.0","status":"affected","lessThan":"19.*"},{"versionType":"semver","version":"20.0","status":"affected","lessThan":"20.5.1"}],"platforms":[]}],"packages":[],"cwes":["CWE-22"],"aliases":["BIT-node-2023-32003","BIT-node-min-2023-32003"],"references":[{"url":"https://hackerone.com/reports/2037887","tags":["x_transferred","Issue Tracking","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PBOZE2QZIBLFFTYWYN23FGKN6HULZ6HX/","tags":["x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JQPELKG2LVTADSB7ME73AV4DXQK47PWK/","tags":["x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20230915-0009/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/32xxx/CVE-2023-32003.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32003","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.0117,"epssPercentile":0.68046,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-32003","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32003","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-32003","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-32003","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["nodejs"],"critical":[],"attention":null}