Skip to main content
VulnerabilityPublished Updated

CVE-2025-54798: Node tmp · tmp is a temporary file and directory creator for node.js

Affects node-tmpSource GCVE Database

0
Compare
Authoritative record:CVE-2025-54798· Low 2.5

Not known to be exploited · CVSS 2.5 Low · fixed in 0.2.4 : update node-tmp when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
2.5Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.12.5
EPSS
0.4% chance of exploitation in 30 days – higher than 35% 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. Weaponized: 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 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10node-tmppkg:deb/ubuntu/node-tmp?arch=source&distro=stonkingOther threatsAffected
  • =0.2.5+dfsg+~0.2.6-2
  • =0.2.7+dfsg+~0.2.6-1
Fixed in–
Ubuntu 26.04 LTSnode-tmppkg:deb/ubuntu/node-tmp?arch=source&distro=resoluteOther threatsAffected
  • =0.2.2+dfsg+~0.2.3-1.1
  • =0.2.5+dfsg+~0.2.6-1
  • =0.2.5+dfsg+~0.2.6-2
Fixed in–
Ubuntu 25.10node-tmppkg:deb/ubuntu/node-tmp?arch=source&distro=questingOther threatsAffected
  • =0.2.2+dfsg+~0.2.3-1
  • =0.2.2+dfsg+~0.2.3-1.1
Fixed in–
Ubuntu 24.04 LTSnode-tmppkg:deb/ubuntu/node-tmp?arch=source&distro=nobleOther threatsAffected
  • =0.2.2+dfsg+~0.2.3-1
Fixed in–
Ubuntu 22.04 LTSnode-tmppkg:deb/ubuntu/node-tmp?arch=source&distro=jammyOther threatsAffected
  • =0.2.1+dfsg-1
  • =0.2.1+dfsg-2
  • =0.2.1+dfsg+~0.2.2-1
Fixed in–
Ubuntu 20.04 LTSnode-tmppkg:deb/ubuntu/node-tmp?arch=source&distro=focalOther threatsAffected
  • 0.0.33+dfsg-2 – 0.1.0+dfsg-6
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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…