Skip to content
OpenAdvisories
High · 7.7 CVE-2026-44705 EUVD-2026-36264GHSA-ph9p-34f9-6g65

tmp: Path Traversal via unsanitized prefix/postfix enables directory escape

Published Jun 11, 2026 · Updated Jun 13, 2026 · Assigned by GitHub_M

Vendor: raszi Product: node-tmp Package: js-jquery Package: jupyter-base-notebook Package: katib-earlystopping Package: katib-suggestion-goptuna-compat Package: katib-suggestion-hyperband Package: katib-suggestion-hyperopt Package: katib-suggestion-nas-darts Package: katib-suggestion-nas-enas Package: katib-suggestion-optuna-enas Package: katib-suggestion-pbt-enas Package: katib-suggestion-skopt-enas Package: katib-tfevent-metricscollector Package: lerna Package: node-tmp Package: node-tmp Package: opensearch-dashboards-3 Package: opensearch-dashboards-3-alerting-dashboards-plugin Package: opensearch-dashboards-3-anomaly-detection-dashboards-plugin Package: opensearch-dashboards-3-dashboards-maps Package: opensearch-dashboards-3-dashboards-notifications Package: opensearch-dashboards-3-dashboards-observability Package: opensearch-dashboards-3-dashboards-query-workbench Package: opensearch-dashboards-3-dashboards-reporting Package: opensearch-dashboards-3-dashboards-search-relevance Package: opensearch-dashboards-3-index-management-dashboards-plugin Package: opensearch-dashboards-3-ml-commons-dashboards Package: opensearch-dashboards-3-security-analytics-dashboards-plugin Package: opensearch-dashboards-3-security-dashboards-plugin Package: prism Package: pulumi-language-nodejs Package: py3.10-jupyterlab Package: py3.11-jupyterlab Package: py3.12-jupyterlab Package: py3.13-jupyterlab Package: renovate Package: saf Package: tmp Package: vitess-23 Ecosystem: Azure Linux Ecosystem: Debian Ecosystem: npm Ecosystem: Ubuntu Ecosystem: Wolfi

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
RHEL 10 rh-podman-desktop 1.1.2-1.el10_2 RHSA-2026:57590
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Azure Linux 3 js-jquery No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
npm tmp < 0.2.6 0.2.6 GHSA-ph9p-34f9-6g65

Advisories 4

References