Security mailing lists by PureSourceCode

CVE-2025-54798

MEDIUM 5.3CVSS 3.1

tmp allows arbitrary temporary file / directory write via symbolic link `dir` parameter

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.

Published
7 Aug 2025
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-59
Also known as
GHSA-52f5-9888-hmc6
Sources
NVDJSONOSV GHSA-52f5-9888-hmc6JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 2.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 LOW 2.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD raszi tmp
cpe:2.3:a:raszi:tmp:*:*:*:*:*:node.js:*:*
< 0.2.4 0.2.4
OSV npm tmp < 0.2.4 0.2.4

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 7 Aug 2025)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 6 Aug 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.