PT-2025-32238

CVE-2025-54798

·

Published

2025-08-06

·

Updated

2026-06-22

Description by

CVSS 3.1
5.3
Medium
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions tmp versions 0.2.3 and below
Description The tmp node.js module versions 0.2.3 and below is susceptible to an arbitrary temporary file/directory write vulnerability due to improper handling of symbolic links when resolving paths. Specifically, the resolvePath function does not adequately address symbolic links, allowing a malicious actor to bypass the intended restrictions on temporary file creation locations. By providing a dir parameter that points to a symbolic link resolving to a directory outside the designated temporary directory, an attacker can write temporary files to arbitrary locations on the system.
Recommendations Update to version 0.2.4 or later to address this vulnerability.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-52F5-9888-HMC6
DLA-4268-1
ECHO-9005-3017-0BEA
OPENSUSE-SU-2025:15502-1
OPENSUSE-SU-2025:15506-1
Found an issue in the description? Have something to add? Feel free to write us 👾