{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-54798","id":"CVE-2025-54798","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.","descriptionLong":"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","updated":"2026-10-28T02:31:04.534204940Z","reserved":"2025-07-29T16:50:28.395Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":2.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":2.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"GitHub_M"},{"version":"3.1","score":2.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"github.com"},{"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":2.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":2.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"GitHub"}],"rating":"low","products":["raszi node-tmp"],"affectedProducts":[{"vendor":"raszi","product":"node-tmp","defaultStatus":null,"versions":[{"version":"< 0.2.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"tmp","purl":"pkg:npm/tmp","ranges":["<0.2.4"],"fixed":["0.2.4"],"advisory":"GHSA-52f5-9888-hmc6"}],"cwes":["CWE-59"],"aliases":["GHSA-52f5-9888-hmc6"],"references":[{"url":"https://github.com/raszi/node-tmp/security/advisories/GHSA-52f5-9888-hmc6","tags":["x_refsource_CONFIRM","exploit","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/raszi/node-tmp/issues/207","tags":["x_refsource_MISC","Issue Tracking","Patch","report","web"]},{"url":"https://github.com/raszi/node-tmp/commit/188b25e529496e37adaf1a1d9dccb40019a08b1b","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00007.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54798.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54798","tags":["advisory"]},{"url":"https://github.com/raszi/node-tmp","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00404,"epssPercentile":0.35557,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-54798","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54798","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-54798","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-52f5-9888-hmc6","ok":true,"note":"GHSA-52f5-9888-hmc6"},{"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-2025-54798","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}