npmWorst: High3 advisories

tmp: known vulnerabilities

tmp has 3 reviewed security advisories in the GitHub Advisory Database — 2 high, 1 low. The most recent was published 2026-06-11. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the tmp versions running across your servers, containers and images, and ranks what to patch first.

How to fix tmp

Upgrade tmp to a release at or above the fixed version shown for each advisory below. For npm:

npm install tmp@0.2.7 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (3)

tmp: Type-confusion bypass of _assertPath allows path traversal via non-string prefix/postfix/template High 8.2 CWE-20 CWE-22 — Affected: from 0.2.6 up to 0.2.7. Fixed in 0.2.7. Published 2026-06-11. GHSA-7c78-jf6q-g5cm · CVE-2026-49982
tmp has Path Traversal via unsanitized prefix/postfix that enables directory escape High CWE-22 — Affected: before 0.2.6. Fixed in 0.2.6. Published 2026-06-11. GHSA-ph9p-34f9-6g65 · CVE-2026-44705
tmp allows arbitrary temporary file / directory write via symbolic link `dir` parameter Low 2.5 CWE-59 — Affected: before 0.2.4. Fixed in 0.2.4. Published 2025-08-07. GHSA-52f5-9888-hmc6 · CVE-2025-54798

Find tmp across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.