node-tar has Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in Extraction
node-tar is a full-featured Tar for Node.js. When using default options in versions 7.5.7 and below, an attacker-controlled archive can create a hardlink inside the extraction directory that points to a file outside the extraction root, enabling arbitrary file read and write as the extracting user. Severity is high because the primitive bypasses path protections and turns archive extraction into a direct filesystem access primitive. This issue has been fixed in version 7.5.8.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-26960
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 18:06 UTC · Revision 1
Source evidence
node-tar has Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in Extraction
core-osv · Original sourcePublished 20 Feb 2026, 01:07 UTC
node-tar is a full-featured Tar for Node.js. When using default options in versions 7.5.7 and below, an attacker-controlled archive can create a hardlink inside the extraction directory that points to a file outside the extraction root, enabling arbitrary file read and write as the extracting user. Severity is high because the primitive bypasses path protections and turns archive extraction into a direct filesystem access primitive. This issue has been fixed in version 7.5.8.
osv:CVE-2026-26960
Complete source record
{
"id": "a00fafd8cacc83a69677b20f36b0835e69edd44438c22fd4ba1192e0ce6561e8",
"url": "https://osv.dev/vulnerability/CVE-2026-26960",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "node-tar has Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in Extraction",
"summary": "node-tar is a full-featured Tar for Node.js. When using default options in versions 7.5.7 and below, an attacker-controlled archive can create a hardlink inside the extraction directory that points to a file outside the extraction root, enabling arbitrary file read and write as the extracting user. Severity is high because the primitive bypasses path protections and turns archive extraction into a direct filesystem access primitive. This issue has been fixed in version 7.5.8.",
"evidence": "osv:CVE-2026-26960",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-26960",
"aliases": [
"CVE-2026-26960",
"GHSA-83g3-92jg-28cx"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/isaacs/node-tar",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "6b8eba0ef367ac937e703238daa6df94ae6f823f"
},
{
"fixed": "2cb1120bcefe28d7ecc719b41441ade59c52e384"
},
{
"fixed": "d18e4e1f846f4ddddc153b0f536a19c050e7499f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:isaacs:tar:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "7.5.8"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "2cb1120bcefe28d7ecc719b41441ade59c52e384"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "d18e4e1f846f4ddddc153b0f536a19c050e7499f"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v7.5.7",
"v7.5.6",
"v7.5.5",
"v7.5.4",
"v7.5.3",
"v7.5.2",
"v7.5.1",
"v7.5.0",
"v7.4.4",
"v7.4.3",
"v7.4.2",
"v7.4.1",
"v7.4.0",
"v7.3.0",
"v7.2.0",
"v7.1.0",
"v7.0.1",
"v7.0.0",
"v6.2.1",
"v6.2.0",
"v6.1.15",
"v6.1.14",
"v6.1.13",
"v6.1.12",
"v6.1.11",
"v6.1.10",
"v6.1.9",
"v6.1.8",
"v6.1.7",
"v6.1.6",
"v6.1.5",
"v6.1.4",
"v6.1.3",
"v6.1.2",
"v6.1.1",
"v4.4.13",
"v5.0.5",
"v6.1.0",
"v6.0.5",
"v6.0.4",
"v6.0.3",
"v6.0.2",
"v6.0.1",
"v6.0.0",
"v5.0.2",
"v5.0.4",
"v5.0.3",
"v5.0.1",
"v4.4.12",
"v4.4.11",
"v4.4.10",
"v4.4.9",
"v2.2.1",
"v4.4.8",
"v4.4.7",
"v4.4.6",
"v4.4.5",
"v4.4.4",
"v4.4.3",
"v4.4.2",
"v4.4.1",
"v4.4.0",
"v4.3.3",
"v4.3.2",
"v4.3.1",
"v4.3.0",
"v4.2.0",
"v4.1.2",
"v4.1.1",
"v4.1.0",
"v4.0.2",
"v4.0.1",
"v3.2.0",
"v4.0.0",
"v3.1.15",
"v3.1.14",
"v3.1.13",
"v3.1.12",
"v3.1.11",
"v3.1.10",
"v3.1.9",
"v3.1.8",
"v3.1.7",
"v3.1.6",
"v3.1.5",
"v3.1.4",
"v3.1.3",
"v3.1.2",
"v3.1.1",
"v3.1.0",
"v3.0.1",
"v3.0.0",
"v2.1.1",
"v2.1.0",
"v2.0.1",
"v2.0.0",
"v1.0.3",
"v1.0.2",
"v1.0.1",
"v1.0.0",
"v0.1.20",
"v0.1.19",
"v0.1.18",
"v0.1.17",
"v0.1.16",
"v0.1.15",
"v0.1.14",
"0.1.13",
"0.1.12",
"0.1.11",
"0.1.10",
"0.1.9",
"0.1.8",
"0.1.7",
"0.1.6",
"0.1.5",
"0.1.3",
"0.1.2",
"0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-26960.json"
}
}
],
"modified": "2026-10-28T02:30:38.295466438Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26960.json",
"https://github.com/isaacs/node-tar/security/advisories/GHSA-83g3-92jg-28cx",
"https://nvd.nist.gov/vuln/detail/CVE-2026-26960",
"https://github.com/isaacs/node-tar/commit/2cb1120bcefe28d7ecc719b41441ade59c52e384",
"https://github.com/isaacs/node-tar/commit/d18e4e1f846f4ddddc153b0f536a19c050e7499f"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26960.json"
}
},
"related_cves": [
{
"value": "CVE-2026-26960",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505598,
"published_at": "2026-02-20T01:07:52.979+00:00"
}