{"id":"CVE-2025-54798","aliases":["GHSA-52f5-9888-hmc6"],"url":"https://o3.security/vulnerability/CVE-2025-54798","summary":"tmp does not restrict arbitrary temporary file / directory write via symbolic link `dir` parameter","details":"tmp is a temporary file and directory creator for node.js. In versions 0.2.3 and below, tmp is vulnerable to an arbitrary temporary file / directory write via symbolic link dir parameter. This is fixed in version 0.2.4.","published":"2025-08-07T00:04:35.370Z","modified":"2026-08-12T03:51:11.101559393Z","cvss":{"score":2.5,"severity":"LOW","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N"},"epss":{"score":0.00338,"percentile":0.26628,"asOf":"2026-09-04"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"tmp","fixedVersion":"0.2.4"}],"fix":{"url":"https://github.com/raszi/node-tmp/commit/188b25e529496e37adaf1a1d9dccb40019a08b1b","label":"raszi/node-tmp@188b25e"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00007.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54798.json"},{"type":"ADVISORY","url":"https://github.com/raszi/node-tmp/security/advisories/GHSA-52f5-9888-hmc6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54798"},{"type":"REPORT","url":"https://github.com/raszi/node-tmp/issues/207"},{"type":"FIX","url":"https://github.com/raszi/node-tmp/commit/188b25e529496e37adaf1a1d9dccb40019a08b1b"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:11.101559393Z"}}