Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| raszi | node-tmp | < 0.2.6 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-tmp | 0.2.7+dfsg+~0.2.6-1 | — |
| Debian 13 | node-tmp | No fix yet | — |
| Debian 12 | node-tmp | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-tmp | No fix yet | — |
| Ubuntu 26.04 LTS | node-tmp | No fix yet | — |
| Ubuntu 25.10 | node-tmp | No fix yet | — |
| Ubuntu 24.04 LTS | node-tmp | No fix yet | — |
| Ubuntu 22.04 LTS | node-tmp | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | node-tmp | No fix yet | — |
| Ubuntu 18.04 LTS | node-tmp | No fix yet | — |
| Ubuntu 16.04 LTS | node-tmp | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | rh-podman-desktop | 1.1.2-1.el10_2 | RHSA-2026:57590 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform Developer 2 | automation-controller-cli | 4.6.32-1.el8ap | RHSA-2026:59136, RHSA-2026:59135 |
| Red Hat Ansible Automation Platform Developer 2 | python-django +1 | 5.2.17-1.el10ap | RHSA-2026:59136 |
| Red Hat Ansible Automation Platform Developer 2 | python3.12-django | 5.2.17-1.el8ap | RHSA-2026:59136, RHSA-2026:59135 |
| Red Hat Ansible Automation Platform 2 | automation-controller-cli +1 | 4.6.32-1.el8ap | RHSA-2026:59136, RHSA-2026:59135 |
| Red Hat Ansible Automation Platform 2 | automation-gateway-server | 2.5.20260824-1.el8ap | RHSA-2026:59135 |
| Red Hat Ansible Automation Platform 2 | automation-platform-ui | 2.6.13-1.el9ap | RHSA-2026:59136 |
| Red Hat Ansible Automation Platform 2 | python-django +1 | 5.2.17-1.el10ap | RHSA-2026:59136 |
| Red Hat Ansible Automation Platform 2 | python3.12-aiohttp | 3.14.3-1.el8ap | RHSA-2026:59136, RHSA-2026:59135 |
| Red Hat Ansible Automation Platform 2 | python3.12-django | 5.2.17-1.el8ap | RHSA-2026:59136, RHSA-2026:59135 |
| Red Hat Ansible Automation Platform 2 | python3.12-gitpython | 3.1.59-1.el8ap | RHSA-2026:59136, RHSA-2026:59135 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | js-jquery | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | jupyter-base-notebook | 7.6.3-r2 | — |
| Wolfi rolling | katib-earlystopping +8 | 0.19.0-r31 | — |
| Wolfi rolling | katib-suggestion-goptuna-compat | 0.19.0-r40 | — |
| Wolfi rolling | lerna | 9.0.7-r6 | — |
| Wolfi rolling | opensearch-dashboards-3 +12 | 3.6.0-r5 | — |
| Wolfi rolling | prism | 5.15.10-r2 | — |
| Wolfi rolling | pulumi-language-nodejs | 3.244.0-r0 | — |
| Wolfi rolling | py3.10-jupyterlab +3 | 4.6.1-r1 | — |
| Wolfi rolling | renovate | 43.170.15-r3 | — |
| Wolfi rolling | saf | 1.6.0-r0 | — |
| Wolfi rolling | vitess-23 | 23.0.4-r5 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | tmp | < 0.2.6 | 0.2.6 | GHSA-ph9p-34f9-6g65 |
Advisories 4
- RHSA-2026:59135 Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:59136 Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:57590 Red Hat Security Advisory: rh-podman-desktop security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- WID-SEC-2026-2460 Atlassian Bamboo, Bitbucket, Confluence, Fisheye, Crucible, Jira und Jira Service Management: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 1, 2026