CVE-2025-54798

tmp does not restrict arbitrary temporary file / directory write via symbolic link `dir` parameter

State
Published
Severity
2.5 Low
Published
Aug 7, 2025
Updated
Nov 3, 2025
Reserved
Jul 29, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.12.5 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:NGitHub_M

Weaknesses

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

Affected Products

ProductVersions
node-tmpraszi
  • < 0.2.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.