Skip to content
Heist/ feed
Back to feed
HighFix available

node-tmp — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-44705

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.

Products
node-tmp
Affected versions
0.2.2+dfsg+~0.2.3-1, 0.2.2+dfsg+~0.2.3-1.1, 0.2.2+dfsg+~0.2.3-1.1~deb12u1, 0.2.2+dfsg+~0.2.3-1.1~deb13u1, 0.2.5+dfsg+~0.2.6-1, 0.2.5+dfsg+~0.2.6-2, 0.2.7+dfsg+~0.2.6-1
Fixed versions
0.2.7+dfsg+~0.2.6-1
CVEs
CVE-2026-44705
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:48 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-44705

core-osv · Original source

Published 11 Jun 2026, 17:16 UTC

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.

osv:DEBIAN-CVE-2026-44705

node-tmp

Fixed versions: Not specified

node-tmp

Fixed versions: Not specified

node-tmp

Fixed versions: 0.2.7+dfsg+~0.2.6-1

Complete source record
{
  "id": "936895a5b672573d04cba8cad28b596687c87369525e19f97346cf44d186c9ac",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-44705",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-44705",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2026-44705",
    "products": [
      {
        "name": {
          "value": "node-tmp",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.2.2+dfsg+~0.2.3-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.2.2+dfsg+~0.2.3-1.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.2.2+dfsg+~0.2.3-1.1~deb12u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.2.2+dfsg+~0.2.3-1.1~deb13u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.2.5+dfsg+~0.2.6-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.2.5+dfsg+~0.2.6-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.2.7+dfsg+~0.2.6-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-tmp",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.2.2+dfsg+~0.2.3-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.2.2+dfsg+~0.2.3-1.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.2.2+dfsg+~0.2.3-1.1~deb12u1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.2.2+dfsg+~0.2.3-1.1~deb13u1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.2.5+dfsg+~0.2.6-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.2.5+dfsg+~0.2.6-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.2.7+dfsg+~0.2.6-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-tmp",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.2.7+dfsg+~0.2.6-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.2.2+dfsg+~0.2.3-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.2.2+dfsg+~0.2.3-1.1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.2.2+dfsg+~0.2.3-1.1~deb12u1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.2.2+dfsg+~0.2.3-1.1~deb13u1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.2.5+dfsg+~0.2.6-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.2.5+dfsg+~0.2.6-2",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-44705",
      "aliases": [
        "DEBIAN-CVE-2026-44705"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-tmp",
            "purl": "pkg:deb/debian/node-tmp?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "0.2.2+dfsg+~0.2.3-1",
            "0.2.2+dfsg+~0.2.3-1.1",
            "0.2.2+dfsg+~0.2.3-1.1~deb12u1",
            "0.2.2+dfsg+~0.2.3-1.1~deb13u1",
            "0.2.5+dfsg+~0.2.6-1",
            "0.2.5+dfsg+~0.2.6-2",
            "0.2.7+dfsg+~0.2.6-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-44705.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-tmp",
            "purl": "pkg:deb/debian/node-tmp?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "0.2.2+dfsg+~0.2.3-1",
            "0.2.2+dfsg+~0.2.3-1.1",
            "0.2.2+dfsg+~0.2.3-1.1~deb12u1",
            "0.2.2+dfsg+~0.2.3-1.1~deb13u1",
            "0.2.5+dfsg+~0.2.6-1",
            "0.2.5+dfsg+~0.2.6-2",
            "0.2.7+dfsg+~0.2.6-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-44705.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.2.7+dfsg+~0.2.6-1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-tmp",
            "purl": "pkg:deb/debian/node-tmp?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "0.2.2+dfsg+~0.2.3-1",
            "0.2.2+dfsg+~0.2.3-1.1",
            "0.2.2+dfsg+~0.2.3-1.1~deb12u1",
            "0.2.2+dfsg+~0.2.3-1.1~deb13u1",
            "0.2.5+dfsg+~0.2.6-1",
            "0.2.5+dfsg+~0.2.6-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-44705.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-27T09:47:35.972113071Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-44705"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-44705"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-44705",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 461258,
  "published_at": "2026-06-11T17:16:33.853+00:00"
}