Arbitrary File Write Vulnerability in Node.js Temporary File Creator
CVE-2025-54798
2.5LOW
What is CVE-2025-54798?
The 'tmp' package for Node.js, used to create temporary files and directories, is susceptible to an arbitrary file or directory write vulnerability. This flaw exists due to improper handling of symbolic link directory parameters in versions up to 0.2.3. When exploited, an attacker could potentially specify a malicious directory, leading to unauthorized data manipulation or exposure. Users should upgrade to version 0.2.4 to mitigate this risk.
Affected Version(s)
node-tmp < 0.2.4