Is tar 7.3 vulnerable?

npm · 1 release from 7.3.0 to 7.3.0 · latest tar is 7.5.22 · checked 2 Nov 2026

Yes: 12 known advisories

Yes. tar 7.3.0, the last 7.3 release, is affected by 12 known security advisories (1 critical, 8 high, 3 medium), including CVE-2026-59873, CVE-2026-73566, CVE-2026-59874. Upgrade to 7.5.21 or later to fix all of them.

Upgrade with:npm install tar@7.5.21

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Advisories affecting tar 7.3.0

  • HighCVE-2026-73566GHSA-r292-9mhp-454m24 Jul 2026

    node-tar: Uncontrolled recursion in mapHas/filesFilter allows uncatchable stack-overflow DoS via crafted long-path tar with member selection

    Affected
    <7.5.21
    Fixed in
    7.5.21
  • MediumCVE-2026-59871GHSA-w8wr-v893-vjvp20 Jul 2026

    node-tar: Process crash via PAX numeric path type confusion

    Affected
    <7.5.18
    Fixed in
    7.5.18
  • CriticalCVE-2026-59873GHSA-23hp-3jrh-7fpw20 Jul 2026

    node-tar: Decompression/parse DoS via unlimited input

    Affected
    <7.5.19
    Fixed in
    7.5.19
  • HighCVE-2026-59874GHSA-8x88-c5mf-7j5w20 Jul 2026

    node-tar: Negative tar entry size causes infinite loop in archive replace

    Affected
    <7.5.18
    Fixed in
    7.5.18
  • MediumCVE-2026-59875GHSA-gvwx-54wh-qm9j20 Jul 2026

    node-tar: Uncaught Exception DoS via NUL byte in PAX path/linkpath records

    Affected
    <7.5.17
    Fixed in
    7.5.17
  • MediumCVE-2026-53655GHSA-vmf3-w455-68vh15 Jun 2026

    node-tar applies PAX size override to intermediary GNU long-name/long-link headers, causing tar parser interpretation differential (file smuggling)

    Affected
    <7.5.16
    Fixed in
    7.5.16
  • HighCVE-2026-31802GHSA-9ppj-qmqm-q25610 Mar 2026

    node-tar Symlink Path Traversal via Drive-Relative Linkpath

    Affected
    <7.5.11
    Fixed in
    7.5.11
  • HighCVE-2026-29786GHSA-qffp-2rhf-9h965 Mar 2026

    tar has Hardlink Path Traversal via Drive-Relative Linkpath

    Affected
    <7.5.10
    Fixed in
    7.5.10
  • HighCVE-2026-26960GHSA-83g3-92jg-28cx18 Feb 2026

    Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in node-tar Extraction

    Affected
    <7.5.8
    Fixed in
    7.5.8
  • HighCVE-2026-24842GHSA-34x7-hfp2-rc4v28 Jan 2026

    node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal

    Affected
    <7.5.7
    Fixed in
    7.5.7
  • HighCVE-2026-23950GHSA-r6q2-hw4h-h46w21 Jan 2026

    Race Condition in node-tar Path Reservations via Unicode Ligature Collisions on macOS APFS

    Affected
    <7.5.4
    Fixed in
    7.5.4
  • HighCVE-2026-23745GHSA-8qq5-rm4j-mr9716 Jan 2026

    node-tar is Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization

    Affected
    <7.5.3
    Fixed in
    7.5.3

Which of your client projects are still on tar 7.3?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact tar version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other tar versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.