Approved changes feed: RSS · Atom

cpe:2.3:a:raszi:node-tmp:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorRaszi (fcedc30f-8f1e-54fc-8e0c-f9c1e2cc1ee5)
ProductNode Tmp (701bc699-ec48-5938-abb8-9e862044e6d2)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-49982 vulnerable 2026-07-29 00:57:45.808368 tmp: Type-confusion bypass of _assertPath in tmp@0.2.6 allows path traversal via non-string prefix/postfix/template
HIGH (8.2)
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.
Published: 2026-06-11T15:45:00.685Z
Updated: 2026-06-11T18:24:22.459Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-44705 vulnerable 2026-07-29 00:52:14.566141 tmp: Path Traversal via unsanitized prefix/postfix enables directory escape
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
Updated: 2026-06-13T02:20:44.547Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-54798 vulnerable 2026-06-08 07:33:13.231416 tmp does not restrict arbitrary temporary file / directory write via symbolic link `dir` parameter
LOW (2.5)
tmp is a temporary file and directory creator for node.js. In versions 0.2.3 and below, tmp is vulnerable to an arbitrary temporary file / directory write via symbolic link dir parameter. This is fixed in version 0.2.4.
Published: 2025-08-07T00:04:35.370Z
Updated: 2025-11-03T20:06:39.242Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.