CVE Database›Document archive›CVE-2025-54798

CVE-2025-54798

tmp: tmp Symbolic Link Write Vulnerability

Loading…

Severity

Low

Red Hat Product Security

2.5

CVSS 3.1

Review impact separately from score.

Published · August 7, 2025

Updated · November 1, 2026

Description

A flaw was found in tmp. The tmp module, used for creating temporary files and directories in Node.js, allows an arbitrary temporary file or directory write due to insufficient validation of the symbolic link parameter. This vulnerability allows a local attacker to provide a crafted symbolic link. This issue allows the creation of temporary files or directories at attacker-specified locations, potentially leading to unexpected behavior.

Statement

This issue was rated as low because, while a symbolic link can be used to create files outside the intended temporary directory, exploitation requires local access and specific setup. The impact is limited to modifying files in specific locations, with no effect on sensitive information or system availability, which keeps the overall risk low.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

CVSS 3.1 · 2.5
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

CWE-59 · Improper Link Resolution Before File Access