# CVE-2026-44705: tmp: Path Traversal via unsanitized prefix/postfix enables directory escape

> CVE-2026-44705: tmp: Path Traversal via unsanitized prefix/postfix enables directory escape. CVSS 8.2 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-44705
Last updated: 2026-06-17T10:51:15Z

- Published: 2026-06-11 15:42 UTC · Updated: 2026-06-17 10:51 UTC · Assigner: GitHub\_M
- CVSS: 8.2 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
- EPSS: 0.43%, 37th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-22

## 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.

## Affected vendors and products

- raszi: node-tmp

## Tracked companies

- [Jira](https://rewindex.com/company/jira.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-44705)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-44705)
- [https://github.com/raszi/node-tmp/security/advisories/GHSA-ph9p-34f9-6g65](https://github.com/raszi/node-tmp/security/advisories/GHSA-ph9p-34f9-6g65)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-44705 · Markdown: https://rewindex.com/cve/CVE-2026-44705.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-44705 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:49:49.598Z
