{"id":"CVE-2026-44705","aliases":["GHSA-ph9p-34f9-6g65"],"url":"https://o3.security/vulnerability/CVE-2026-44705","summary":"tmp: Path Traversal via unsanitized prefix/postfix enables directory escape","details":"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.","published":"2026-06-11T15:42:46.565Z","modified":"2026-07-15T01:49:11.090589510Z","cvss":null,"epss":{"score":0.00354,"percentile":0.28168,"asOf":"2026-08-09"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"tmp","fixedVersion":"0.2.6"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44705.json"},{"type":"ADVISORY","url":"https://github.com/raszi/node-tmp/security/advisories/GHSA-ph9p-34f9-6g65"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44705"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:11.090589510Z"}}