{"id":"EUVD-2026-36265","revision":"82c2eb244b024f72895fa7327dd5e1b7","records":[{"revision":"82c2eb244b024f72895fa7327dd5e1b7","observedAt":"2026-10-28T07:12:14.197+00:00","statement":{"source":"euvd","id":"EUVD-2026-36265","aliases":["CVE-2026-49982","GHSA-7c78-jf6q-g5cm"],"title":"tmp is a temporary file and directory creator for node.js. In version 0.2.6, the _assertPath guard added to tmp rejects only string values that contain the substring ... It is bypassed when prefix, postfix, or template is supplied as a non-…","description":"tmp is a temporary file and directory creator for node.js. In version 0.2.6, the _assertPath guard added to tmp rejects only string values that contain the substring ... It is bypassed when prefix, postfix, or template is supplied as a non-string value (Array, Buffer, or any object) whose includes('..') returns falsy but whose stringification still contains ../. The value flows through Array.prototype.join/String coercion inside _generateTmpName and path.join(tmpDir, opts.dir, name), producing a final path that escapes tmpdir and creates a file or directory at an attacker-controlled location with the host process's privileges. This affects any application that forwards untrusted request data (a common pattern is JSON body fields or qs-parsed bracket-array query strings such as ?prefix[]=...) into tmp.file, tmp.fileSync, tmp.dir, tmp.dirSync, tmp.tmpName, or tmp.tmpNameSync without explicit type coercion. This vulnerability is fixed in 0.2.7.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","score":8.2,"severity":null}],"references":["https://github.com/raszi/node-tmp/security/advisories/GHSA-7c78-jf6q-g5cm"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-36265","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jun 11, 2026, 3:45:00 PM","dateUpdated":"Jun 11, 2026, 6:24:22 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-36265","identifiers":["EUVD-2026-36265","CVE-2026-49982","GHSA-7c78-jf6q-g5cm"]},"retained":false,"historicalAffected":[]}],"coverage":[]}