{
  "id": "CVE-2026-44705",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-44705",
  "published_at": "2026-06-11T15:42:46.565Z",
  "title": "tmp: Path Traversal via unsanitized prefix/postfix enables directory escape",
  "vendor": "raszi",
  "product": "node-tmp",
  "cvss": {
    "score": 8.2,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:raszi:tmp:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.7,
    "nvd": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "raszi",
        "product": "node-tmp",
        "ranges": [
          "\u003c 0.2.6"
        ],
        "fixed_in": [
          "0.2.6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade node-tmp to 0.2.6 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/raszi/node-tmp/security/advisories/GHSA-ph9p-34f9-6g65"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
