CVE-2025-54798

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

Published Aug 7, 2025 CVSS 3.1 · 2.5 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4268-1 node-tmp security update
EUVD EUVD EUVD-2025-23895 tmp allows arbitrary temporary file / directory write via symbolic link `dir` parameter
Github GHSA Github GHSA GHSA-52f5-9888-hmc6 tmp allows arbitrary temporary file / directory write via symbolic link `dir` parameter
History
Type Values Removed Values Added
First Time appeared Raszi tmp
CPEs cpe:2.3:a:raszi:tmp:*:*:*:*:*:node.js:*:*
Vendors & Products Raszi tmp
Type Values Removed Values Added
First Time appeared Raszi
Raszi node-tmp
Vendors & Products Raszi
Raszi node-tmp
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title tmp does not restrict arbitrary temporary file / directory write via symbolic link `dir` parameter
Weaknesses CWE-59
References
Metrics cvssV3_1

{'score': 2.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 3, 2025, 8:06 PM
Reserved
Jul 29, 2025, 4:50 PM
Status
Modified
Published
Aug 7, 2025, 1:15 AM
Modified
Jun 17, 2026, 9:40 AM
Severity
Low
Public date
Aug 7, 2025, 12:04 AM