CVE-2026-44705
Severity CVSS v4.0:
HIGH
Type:
CWE-22
Path Traversal
Publication date:
11/06/2026
Last modified:
15/06/2026
Description
tmp is a temporary file and directory creator for node.js. Prior to 0.2.6, the tmp npm package contains a path traversal vulnerability that allows escaping the intended temporary directory when untrusted data flows into the prefix, postfix, or dir options. By embedding traversal sequences (e.g., ../) or path separators in these parameters, attackers can cause files to be created outside the configured temporary base directory at attacker-controlled locations with the privileges of the running process. This vulnerability affects applications that pass user-controlled data to tmp's file/directory creation functions without proper input sanitization. This vulnerability is fixed in 0.2.6.
Impact
Base Score 4.0
7.70
Severity 4.0
HIGH
Base Score 3.x
8.20
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:raszi:tmp:*:*:*:*:*:node.js:*:* | 0.2.6 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



