{"answers":{"affected":"2 open source packages ship an affected version, including tmp. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-44705 exists.","fix":"Upgrade tmp to 0.2.6 or later.","what":"CVE-2026-44705 is a high-severity path traversal vulnerability in raszi node-tmp, published on 11 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-44705 and fix it if it is affected.\n\nWhat it is: CVE-2026-44705 is a high-severity path traversal vulnerability in raszi node-tmp, published on 11 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-44705 exists.\n\nAffected packages and fixed versions:\n- tmp (npm): affected all versions; fixed in 0.2.6\n- tmp (npm): affected all versions; fixed in 0.2.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-44705/ (Markdown: https://insights.sbomify.com/CVE-2026-44705/index.md)","id":"CVE-2026-44705","markdown":"https://insights.sbomify.com/CVE-2026-44705/index.md","name":"CVE-2026-44705","record":{"aliases":["AZL-89765","CLEANSTART-2026-RI68041","CLSA-2026-1785117460","CLSA-2026-1785117462","CLSA-2026-1785204337","CLSA-2026-1785204339","CLSA-2026-1785204340","CLSA-2026-1785204341","CLSA-2026-1792777608","DEBIAN-CVE-2026-44705","ECHO-b579-7d1c-7a47","GHSA-ph9p-34f9-6g65","MINI-4rvj-3q4c-fgh7","MINI-6783-w73p-26xj","MINI-c2hg-9cx4-v3m4","MINI-c74h-fgrf-3ghv","MINI-f6jq-74xx-6w2v","MINI-f6q6-rhf3-97px","MINI-jrjh-84pp-p4ww","MINI-m4vx-fgw5-x393","MINI-mhrm-gx37-92x8","MINI-pqpg-46rc-ff56","MINI-pvxv-h7mv-rxx3","MINI-rhfg-77fr-847r","MINI-rq4w-8jw5-g2m5","MINI-w3xg-7wcq-vpxr","ROOT-APP-NPM-CVE-2026-44705","UBUNTU-CVE-2026-44705"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js tmp library","requires_auth":"none","summary":"Attackers can escape the temporary directory and create files in arbitrary locations by injecting path traversal sequences into tmp library options.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"tmp","vendor":"raszi"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"tmp: Path Traversal via unsanitized prefix/postfix enables directory escape","id":"CVE-2026-44705","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Chatwoot: SQL Injection in Conversation/Contact Filter API via Custom Attribute Values","id":"CVE-2026-44706"},"packages":[{"ecosystem":"npm","fixed":["0.2.6"],"introduced":["0"],"last_affected":[],"package":"tmp","purl":null,"source":"GHSA-ph9p-34f9-6g65"},{"ecosystem":"npm","fixed":["0.2.6"],"introduced":["0"],"last_affected":[],"package":"tmp","purl":"pkg:npm/tmp","source":"GHSA-ph9p-34f9-6g65"}],"prev":{"headline":"Elixir WebRTC: Missing DTLS peer fingerprint validation in ex_webrtc client-role handshake","id":"CVE-2026-44700"},"products":["node-tmp"],"published":"2026-06-11","related":[{"cvss_score":8.2,"headline":"tmp: Type-confusion bypass of _assertPath in tmp@0.2.6 allows path traversal via non-string prefix/postfix/template","id":"CVE-2026-49982","kev_date_added":null,"published":"2026-06-11"},{"cvss_score":2.5,"headline":"tmp does not restrict arbitrary temporary file / directory write via symbolic link `dir` parameter","id":"CVE-2025-54798","kev_date_added":null,"published":"2025-08-07"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-13","vendors":["raszi"]},"summary":"Attackers can escape the temporary directory and create files in arbitrary locations by injecting path traversal sequences into tmp library options.","url":"https://insights.sbomify.com/CVE-2026-44705/"}