tmp: Path Traversal via unsanitized prefix/postfix enables directory escape
CVE-2026-44705 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2026-44705, released June 27, 2026. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| node-tmp · Debian 14 | 0.2.7+dfsg+~0.2.6-1 | DEBIAN-CVE-2026-44705 | Jun 27, 2026 |
| rh-podman-desktop · RHEL 10 | 1.1.2-1.el10_2 | RHSA-2026:57590 | Aug 21, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.