CVE-2025-54798
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-08-07

Last updated on: 2025-11-03

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-08-07
Last Modified
2025-11-03
Generated
2026-05-07
AI Q&A
2025-08-07
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
raszi tmp to 0.2.4 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-59 The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

The vulnerability in tmp (a temporary file and directory creator for node.js) versions 0.2.3 and below allows an attacker to write arbitrary temporary files or directories via a symbolic link in the dir parameter. This means an attacker could potentially create or overwrite files in unintended locations by exploiting symbolic links. The issue is fixed in version 0.2.4.


How can this vulnerability impact me? :

This vulnerability can allow an attacker with local access to write arbitrary files or directories by exploiting symbolic links, potentially leading to unauthorized modification of files. However, the CVSS score indicates a low severity impact with no confidentiality or availability impact, only a low integrity impact, and requires high attack complexity and low privileges.


What immediate steps should I take to mitigate this vulnerability?

Upgrade the tmp package to version 0.2.4 or later, as this version contains the fix for the arbitrary temporary file/directory write vulnerability via symbolic link dir parameter.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart