{"id":"CVE-2026-44705","revision":"4bc22823660243cf964b41c1c426f7f0","records":[{"revision":"4bc22823660243cf964b41c1c426f7f0","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-44705","aliases":[],"title":"tmp: Path Traversal via unsanitized prefix/postfix enables directory escape","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.","state":0,"publishedAt":"2026-06-11T15:42:46.565+00:00","modifiedAt":"2026-06-13T02:20:44.547+00:00","affected":[{"ecosystem":"Vendor product","name":"node-tmp","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"raszi\",\n                    \"product\": \"node-tmp\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.2.6\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","score":7.7,"severity":"HIGH"}],"references":["https://github.com/raszi/node-tmp/security/advisories/GHSA-ph9p-34f9-6g65"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-44705","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-44705","identifiers":["CVE-2026-44705"]},"retained":false,"historicalAffected":[]}],"coverage":[]}