Skip to main content
CVE-2025-54798VulnerabilityPublished Updated

CVE-2025-54798: raszi node-tmp · Link Following

Affects raszi node-tmpSource CVE Database V5

0

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

CVSS 3.1 base score
2.5Low
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Aug 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
raszi node-tmpAffected
  • <0.2.4
Fixed in
  • 0.2.4

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

Community reviews

Loading reviews…