CVE-2025-54798: raszi node-tmp · Link Following
Affects raszi node-tmpSource CVE Database V5
Not known to be exploited · CVSS 2.5 Low : upgrade to 0.2.4 when convenient.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 28% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.2.4
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 7 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade raszi node-tmp to 0.2.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| raszi node-tmp | Affected
| Fixed in
|
AI-suggested
1. Upgrade all instances of the node-tmp package to version 0.2.4 or later, where the vulnerability is fixed. 2. Conduct an inventory of Node.js applications and development environments to identify usage of node-tmp and ensure timely patching. 3. Restrict local user permissions to prevent untrusted users from creating symbolic links or accessing directories where temporary files are created. 4. Implement filesystem monitoring to detect unusual symbolic link creation or unauthorized file writes in temporary directories. 5. Use containerization or sandboxing to isolate Node.js applications, limiting the impact of potential local exploits. 6. Educate developers and system administrators about the risks of improper symbolic link handling and enforce secure coding practices around temporary file creation. 7. Regularly audit and review local access controls and user privileges on systems running Node.js applications to minimize the risk of local exploitation.
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.
References
- github.com/raszi/node-tmp/security/advisories/GHSA-52f5-9888-hmc6 (opens in a new tab)
- github.com/raszi/node-tmp/issues/207 (opens in a new tab)
- github.com/raszi/node-tmp/commit/188b25e529496e37adaf1a1d9dccb40019a08b1b (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/08/msg00007.html (opens in a new tab)