{"answers":{"affected":"2 open source packages ship an affected version, including tar. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-23745 exists.","fix":"Upgrade tar to 7.5.3 or later.","what":"CVE-2026-23745 is a high-severity path traversal vulnerability in isaacs node-tar, published on 16 Jan 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-23745 and fix it if it is affected.\n\nWhat it is: CVE-2026-23745 is a high-severity path traversal vulnerability in isaacs node-tar, published on 16 Jan 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-23745 exists.\n\nAffected packages and fixed versions:\n- tar (npm): affected all versions; fixed in 7.5.3\n- tar (npm): affected all versions; fixed in 7.5.3\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-23745/ (Markdown: https://insights.sbomify.com/CVE-2026-23745/index.md)","id":"CVE-2026-23745","markdown":"https://insights.sbomify.com/CVE-2026-23745/index.md","name":"CVE-2026-23745","record":{"aliases":["CLEANSTART-2026-FG94911","CLEANSTART-2026-ZI47888","DEBIAN-CVE-2026-23745","ECHO-fcdb-3d59-4763","GHSA-8qq5-rm4j-mr97","MINI-3636-4c9j-259m","MINI-3f36-7mqg-5q65","MINI-4mpm-j62v-6cxr","MINI-5c66-f5jq-g3f8","MINI-68pj-jw9h-44vc","MINI-6jcp-3rpj-qcfj","MINI-6r9q-6v2x-g4pj","MINI-73v6-x73f-q67w","MINI-7gvw-5qr4-p62c","MINI-94qm-p32v-9q45","MINI-9vgr-hgqw-7cx4","MINI-g8ff-x4cp-2c64","MINI-gcgf-7xmx-7726","MINI-gw8f-6w42-39r7","MINI-h6cg-5xcg-75v6","MINI-hg28-9pqh-8h98","MINI-hpvp-6w3c-5xvq","MINI-hvv9-w77w-98qc","MINI-r22j-jvv2-r84q","MINI-rhxr-pmmm-jvxx","MINI-vq7x-6g9c-qq2r","MINI-xj9x-8cr4-m5r4","ROOT-APP-NPM-CVE-2026-23745","UBUNTU-CVE-2026-23745"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Node.js tar library","requires_auth":"none","summary":"Attackers can overwrite arbitrary files or poison symlinks via malicious tar archives, potentially leading to code execution.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"tar","vendor":"isaacs"}],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"node-tar is a Tar for Node.js. The node-tar library (\u003c= 7.5.2) fails to sanitize the linkpath of Link (hardlink) and SymbolicLink entries when preservePaths is false (the default secure behavior). This allows malicious archives to bypass the extraction root restriction, leading to Arbitrary File Overwrite via hardlinks and Symlink Poisoning via absolute symlink targets. This vulnerability is fixed in 7.5.3.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-01-17","github_poc":3,"max_poc_stars":23,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-01-17T07:45:42Z","kind":"github_poc","ref":"https://github.com/Jvr2022/CVE-2026-23745","stars":23,"title":"Proof of Concept for CVE-2026-23745: Arbitrary File Overwrite vulnerability in node-tar (versions \u003c 7.5.3)."},{"date":"2026-08-11T21:16:44Z","kind":"github_poc","ref":"https://github.com/OndrejDrapalik/node-tar-cve-demo","stars":1,"title":"Mirror of isaacs/node-tar pinned at 8bb83f7 — the commit before the CVE-2026-23745 fix. Demo target for autonomous vulnerability patching. Do not install from here; use node-tar 7.5.3+."},{"date":"2026-03-26T10:34:18Z","kind":"github_poc","ref":"https://github.com/Novem13th/CVE-2026-23745-via-graphql-DEMO","stars":0,"title":null}],"tier":"weaponised"},"has_fix":true,"headline":"node-tar Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization","id":"CVE-2026-23745","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Entrust Instant Financial Issuance (IFI) SmartCardController Service .NET Remoting RCE","id":"CVE-2026-23746"},"packages":[{"ecosystem":"npm","fixed":["7.5.3"],"introduced":["0"],"last_affected":[],"package":"tar","purl":null,"source":"GHSA-8qq5-rm4j-mr97"},{"ecosystem":"npm","fixed":["7.5.3"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:npm/tar","source":"GHSA-8qq5-rm4j-mr97"}],"prev":{"headline":"REC in MCPJam inspector due to HTTP Endpoint exposes","id":"CVE-2026-23744"},"products":["node-tar"],"published":"2026-01-16","related":[{"cvss_score":9.2,"headline":"node-tar: Decompression/parse DoS via unlimited input","id":"CVE-2026-59873","kev_date_added":null,"published":"2026-07-08"},{"cvss_score":8.8,"headline":"node-tar has Race Condition in Path Reservations via Unicode Ligature Collisions on macOS APFS","id":"CVE-2026-23950","kev_date_added":null,"published":"2026-01-20"},{"cvss_score":8.7,"headline":"node-tar: Negative tar entry size causes infinite loop in archive replace","id":"CVE-2026-59874","kev_date_added":null,"published":"2026-07-08"},{"cvss_score":8.2,"headline":"node-tar Symlink Path Traversal via Drive-Relative Linkpath","id":"CVE-2026-31802","kev_date_added":null,"published":"2026-03-09"},{"cvss_score":8.2,"headline":"node-tar: Hardlink Path Traversal via Drive-Relative Linkpath","id":"CVE-2026-29786","kev_date_added":null,"published":"2026-03-07"},{"cvss_score":8.2,"headline":"node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal","id":"CVE-2026-24842","kev_date_added":null,"published":"2026-01-28"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-07","vendors":["isaacs"]},"summary":"Attackers can overwrite arbitrary files or poison symlinks via malicious tar archives, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2026-23745/"}