{"id":"CVE-2025-54798","state":"PUBLISHED","title":"tmp does not restrict arbitrary temporary file / directory write via symbolic link `dir` parameter","description":"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.","publishedAt":"2025-08-07T00:04:35.370Z","updatedAt":"2025-11-03T20:06:39.242Z","severity":{"score":2.5,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["raszi node-tmp"],"affected":[{"vendor":"raszi","product":"node-tmp","versions":[{"version":"< 0.2.4","status":"affected"}]}],"references":["https://github.com/raszi/node-tmp/security/advisories/GHSA-52f5-9888-hmc6","https://github.com/raszi/node-tmp/issues/207","https://github.com/raszi/node-tmp/commit/188b25e529496e37adaf1a1d9dccb40019a08b1b","https://lists.debian.org/debian-lts-announce/2025/08/msg00007.html"],"weaknesses":["CWE-59"],"ingestedAt":"2026-10-29T20:09:31.862Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/54xxx/CVE-2025-54798.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-54798","state":"PUBLISHED","datePublished":"2025-08-07T00:04:35.370Z","dateUpdated":"2025-11-03T20:06:39.242Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-07-29T16:50:28.395Z"},"containers":{"cna":{"title":"tmp does not restrict arbitrary temporary file / directory write via symbolic link `dir` parameter","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"raszi","product":"node-tmp","versions":[{"version":"< 0.2.4","status":"affected"}]}],"references":[{"url":"https://github.com/raszi/node-tmp/security/advisories/GHSA-52f5-9888-hmc6","name":"https://github.com/raszi/node-tmp/security/advisories/GHSA-52f5-9888-hmc6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/raszi/node-tmp/issues/207","name":"https://github.com/raszi/node-tmp/issues/207","tags":["x_refsource_MISC"]},{"url":"https://github.com/raszi/node-tmp/commit/188b25e529496e37adaf1a1d9dccb40019a08b1b","name":"https://github.com/raszi/node-tmp/commit/188b25e529496e37adaf1a1d9dccb40019a08b1b","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":2.5,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","lang":"en","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-08-07T00:04:35.370Z"},"source":{"advisory":"GHSA-52f5-9888-hmc6","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/raszi/node-tmp/security/advisories/GHSA-52f5-9888-hmc6","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-08-07T14:04:19.811342Z","id":"CVE-2025-54798","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-08-07T14:04:24.089Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00007.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T20:06:39.242Z"}}]}}}