tmp

Temporary file and directory creator

0.2.7Latest, 27 May 2026
489MDownloads, last month
0Advisories on the latest
3Advisories, all versions
MITLicence
776Stars
3.4/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
High tmp: Type-confusion bypass of _assertPath allows path traversal via non-string prefix/postfix/template CVE-2026-49982 Fixed in 0.2.7 15 Jun 2026
High tmp has Path Traversal via unsanitized prefix/postfix that enables directory escape CVE-2026-44705 Fixed in 0.2.6 27 May 2026
Low tmp allows arbitrary temporary file / directory write via symbolic link `dir` parameter CVE-2025-54798 Fixed in 0.2.4 6 Aug 2025

In the news

On Hacker News

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.