CVEfocus › CVE database › CVE-2026-44705

CVE-2026-44705tmp: Path Traversal via unsanitized prefix/postfix enables directory escape

CVSS 7.7 HighEPSS 0.5% (higher than 35% of CVEs)Published 2026-06-11Updated 2026-06-13Assigner: GitHub_M

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.

CWE-22

What to do

Fixed builds are available from Debian, Red Hat, npm: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
6Fix pending
3Under investigation
1Will not fix
31Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-tmpFix pendingUBUNTU-CVE-2026-44705
Ubuntu 26.04node-tmpUnder investigationUBUNTU-CVE-2026-44705
Ubuntu 25.10node-tmpWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-44705
Ubuntu 24.04node-tmpUnder investigationUBUNTU-CVE-2026-44705
Ubuntu 22.04node-tmpUnder investigationUBUNTU-CVE-2026-44705
Ubuntu 20.04node-tmpFix pendingUBUNTU-CVE-2026-44705
Ubuntu 18.04node-tmpFix pendingUBUNTU-CVE-2026-44705
Ubuntu 16.04node-tmpFix pendingUBUNTU-CVE-2026-44705
Debian 14node-tmpFixed0.2.7+dfsg+~0.2.6-1DEBIAN-CVE-2026-44705
Debian 13node-tmpFix pendingDEBIAN-CVE-2026-44705
Debian 12node-tmpFix pendingDEBIAN-CVE-2026-44705
Red Hat Enterprise Linux 10rh-podman-desktopFixed0:1.1.2-1.el10_2RHSA-2026:57590
Red Hat Enterprise Linux 9gjsNot affected
Red Hat Enterprise Linux 9gjs-develNot affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8grafana-azure-monitorNot affected
Red Hat Enterprise Linux 8grafana-cloudwatchNot affected
Red Hat Enterprise Linux 8grafana-elasticsearchNot affected
Red Hat Enterprise Linux 8grafana-graphiteNot affected
Red Hat Enterprise Linux 8grafana-influxdbNot affected
Red Hat Enterprise Linux 8grafana-lokiNot affected
Red Hat Enterprise Linux 8grafana-mssqlNot affected
Red Hat Enterprise Linux 8grafana-mysqlNot affected
Red Hat Enterprise Linux 8grafana-opentsdbNot affected
Red Hat Enterprise Linux 8grafana-postgresNot affected
Red Hat Enterprise Linux 8grafana-prometheusNot affected
Red Hat Enterprise Linux 8grafana-selinuxNot affected
Red Hat Enterprise Linux 8grafana-stackdriverNot affected
Red Hat Enterprise Linux 8mozjs60Not affected
Red Hat Enterprise Linux 8mozjs60-develNot affected
Red Hat Enterprise Linux 8pcsNot affected
Red Hat Enterprise Linux 8pcs-snmpNot affected
Red Hat Enterprise Linux 7python-syspurposeNot affected
Red Hat Enterprise Linux 7rhsm-gtkNot affected
Red Hat Enterprise Linux 7subscription-managerNot affected
Red Hat Enterprise Linux 7subscription-manager-cockpitNot affected
Red Hat Enterprise Linux 7subscription-manager-guiNot affected
Red Hat Enterprise Linux 7subscription-manager-initial-setup-addonNot affected
Red Hat Enterprise Linux 7subscription-manager-migrationNot affected
Red Hat Enterprise Linux 7subscription-manager-plugin-containerNot affected
Red Hat Enterprise Linux 7subscription-manager-plugin-ostreeNot affected
Red Hat Enterprise Linux 7subscription-manager-rhsmNot affected
Red Hat Enterprise Linux 7subscription-manager-rhsm-certificatesNot affected
npm librarytmpFixed0.2.6GHSA-ph9p-34f9-6g65

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.