{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-140244","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-11-30T22:04:22.618Z","datePublished":"2026-12-01T17:49:26.157Z","dateUpdated":"2026-12-01T17:49:26.157Z"},"containers":{"cna":{"title":"node-tar: symlink containment bypass via nested symlink + '..' (lexical linkpath check)","problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-59","lang":"en","description":"CWE-59: Improper Link Resolution Before File Access","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.2,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N","version":"4.0"}}],"references":[{"name":"https://github.com/isaacs/node-tar/security/advisories/GHSA-mhqm-9wj8-w7r4","tags":["x_refsource_CONFIRM"],"url":"https://github.com/isaacs/node-tar/security/advisories/GHSA-mhqm-9wj8-w7r4"},{"name":"https://github.com/isaacs/node-tar/commit/23b368128b6cf7d4c26f2e302c0e4a82f70a6e3d","tags":["x_refsource_MISC"],"url":"https://github.com/isaacs/node-tar/commit/23b368128b6cf7d4c26f2e302c0e4a82f70a6e3d"},{"name":"https://github.com/isaacs/node-tar/releases/tag/v8.0.0","tags":["x_refsource_MISC"],"url":"https://github.com/isaacs/node-tar/releases/tag/v8.0.0"}],"affected":[{"vendor":"isaacs","product":"node-tar","versions":[{"version":"< 8.0.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-12-01T17:49:26.157Z"},"descriptions":[{"lang":"en","value":"node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, the STRIPABSOLUTEPATH linkpath containment check uses path.resolve and collapses parent components without following an earlier archive-created symlink. A second symlink can therefore be planted inside the extraction root while pointing outside it. A later consumer that reads, serves, copies, or archives the extracted tree can follow the link and read an arbitrary file. Hardlinks and subsequent node-tar writes through the planted link remain blocked. This issue is fixed in version 8.0.0."}],"source":{"advisory":"GHSA-mhqm-9wj8-w7r4","discovery":"UNKNOWN"}}}}