Skip to content
OpenAdvisories

Description

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.

Affected products

VendorProductAffectedFixed
isaacs node-tar < 7.5.8 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-tar 6.2.1+ds1+~cs6.1.13-8 —
Debian 13 node-tar 6.2.1+~cs7.0.8-1+deb13u1 —
Debian 12 node-tar 6.1.13+~cs7.0.5-1+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-tar No fix yet —
Ubuntu 26.04 LTS node-tar No fix yet —
Ubuntu 25.10 node-tar No fix yet —
Ubuntu 24.04 LTS node-tar No fix yet —
Ubuntu 22.04 LTS node-tar No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS node-tar No fix yet —
Ubuntu Pro 20.04 LTS node-tar No fix yet —
Ubuntu Pro 16.04 LTS node-tar No fix yet —
Ubuntu Pro 14.04 LTS node-tar No fix yet —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs20 +4 1:20.20.1-1.amzn2023.0.2 ALAS2023-2026-1484
Amazon Linux 2023 nodejs20-npm 1:10.8.2-1.20.20.1.1.amzn2023.0.2 ALAS2023-2026-1484
Amazon Linux 2023 nodejs22 +4 1:22.22.1-1.amzn2023.0.1 ALAS2023-2026-1483
Amazon Linux 2023 nodejs22-npm 1:10.9.4-1.22.22.1.1.amzn2023.0.1 ALAS2023-2026-1483
Amazon Linux 2023 nodejs24 +4 1:24.14.1-1.amzn2023.0.1 ALAS2023-2026-1578
Amazon Linux 2023 nodejs24-npm 1:11.11.0-1.24.14.1.1.amzn2023.0.1 ALAS2023-2026-1578
Amazon Linux 2023 v8-11.3-devel 3:11.3.244.8-1.20.20.1.1.amzn2023.0.2 ALAS2023-2026-1484
Amazon Linux 2023 v8-12.4-devel 3:12.4.254.21-1.22.22.1.1.amzn2023.0.1 ALAS2023-2026-1483
Amazon Linux 2023 v8-13.6-devel 3:13.6.233.17-1.24.14.1.1.amzn2023.0.1 ALAS2023-2026-1578

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling code-server 4.106.3-r5 —
Wolfi rolling jupyter-base-notebook 7.6.3-r2 —
Wolfi rolling katib-earlystopping +8 0.19.0-r31 —
Wolfi rolling katib-suggestion-goptuna-compat 0.19.0-r40 —
Wolfi rolling kubeflow-pipelines-frontend 2.15.0-r12 —
Wolfi rolling lerna 9.0.4-r3 —
Wolfi rolling node-gyp 12.2.0-r2 —
Wolfi rolling npm 11.10.1-r0 —
Wolfi rolling opensearch-dashboards-3 3.5.0-r5 —
Wolfi rolling pnpm-stage0 8.7.4-r7 —
Wolfi rolling prism 5.14.3-r7 —
Wolfi rolling pulumi-language-nodejs 3.223.0-r1 —
Wolfi rolling py3.10-jupyterlab +3 4.6.1-r1 —
Wolfi rolling renovate 43.38.0-r1 —
Wolfi rolling saf 1.6.0-r0 —
Wolfi rolling sqlpad 7.5.7-r10 —
Wolfi rolling tileserver-gl 5.5.0-r5 —
Wolfi rolling vitess-23 23.0.2-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm tar < 7.5.8 7.5.8 GHSA-83g3-92jg-28cx

Advisories 7

References