Home

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.

PUBLISHED Reserved 2025-07-29 | Published 2025-08-07 | Updated 2025-11-03 | Assigner GitHub_M




LOW: 2.5CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Problem types

CWE-59: Improper Link Resolution Before File Access ('Link Following')

Product status

< 0.2.4
affected

References

github.com/...de-tmp/security/advisories/GHSA-52f5-9888-hmc6 exploit

lists.debian.org/debian-lts-announce/2025/08/msg00007.html

github.com/...de-tmp/security/advisories/GHSA-52f5-9888-hmc6

github.com/raszi/node-tmp/issues/207

github.com/...ommit/188b25e529496e37adaf1a1d9dccb40019a08b1b

cve.org (CVE-2025-54798)

nvd.nist.gov (CVE-2025-54798)

Download JSON