PT-2025-32238 · Tmp+1 · Tmp+1

Dellalibera

·

Published

2025-08-06

·

Updated

2026-06-04

·

CVE-2025-54798

CVSS v3.1

5.3

Medium

VectorAV: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.

Exploit

Fix

Link Following

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-54798
DLA-4268-1
GHSA-52F5-9888-HMC6
OPENSUSE-SU-2025:15502-1
OPENSUSE-SU-2025:15506-1

Affected Products

Debian
Tmp