{"id":"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.","aliases":["GHSA-52f5-9888-hmc6"],"modified":"2026-04-10T05:30:40.771777Z","published":"2025-08-07T00:04:35.370Z","related":["CGA-p46q-ggqg-hq5j","openSUSE-SU-2025:15502-1","openSUSE-SU-2025:15506-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54798.json","cwe_ids":["CWE-59"],"cna_assigner":"GitHub_M"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/raszi/node-tmp","events":[{"introduced":"0"},{"fixed":"08fa3abac32b621506512724b28b56b9c4a95846"}]}],"versions":["v0.0.1","v0.0.10","v0.0.11","v0.0.12","v0.0.13","v0.0.14","v0.0.15","v0.0.16","v0.0.17","v0.0.18","v0.0.19","v0.0.2","v0.0.20","v0.0.21","v0.0.22","v0.0.23","v0.0.24","v0.0.26","v0.0.27","v0.0.28","v0.0.29","v0.0.3","v0.0.30","v0.0.31","v0.0.33","v0.0.4","v0.0.5","v0.0.6","v0.0.7","v0.0.8","v0.0.9","v0.1.0","v0.2.0","v0.2.1","v0.2.2","v0.2.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54798.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N"}]}