Skip to content

Upgrade tar dependency to 8.0.2 #3395

Backlog

Description

@samjoffe

The latest version pins tar^7.5.7, but there are a bunch of CVEs that are only fixed in tar 8.0.2 and above.

Activity

  1. cclauss commented on Dec 2, 2026

    @cclauss
    Contributor
  2. santhosh-umapathi-wikifolio commented on Dec 2, 2026

    @santhosh-umapathi-wikifolio

    Confirming this is still the case on the latest release, node-gyp@13.1.0 ("tar": "^7.5.7", resolves to tar@7.5.24). Scanners now report a large set of node-tar advisories against 7.5.24 that are all fixed only in tar@8.0.0 or later, e.g.:

    Because the range is ^7.5.7, consumers cannot reach 8.x without a package manager override, and overriding across a major version is risky for a build tool. A node-gyp release that depends on tar@^8.0.2 would let downstream projects clear these findings through a normal lockfile update.

    Example path in a React Native project: babel-jest > @jest/transform > jest-haste-map > @parcel/watcher > node-gyp@13.1.0 > tar@7.5.24.

  3. cclauss commented on Dec 2, 2026

    @cclauss
    Contributor

    Many people have commented on this pull request, but there are very few reviews on

    When you think a pull request is useful and ready to merge, please consider giving it a positive review.

    Every check mark ✔️ at the top right of the PR page gives project maintainers confidence that they've read the proposed changes and deemed them both useful and safe to merge into the codebase. Lots of 👍 and "what is the ETA?" comments are easier for maintainers to ignore than ✔️✔️✔️✔️✔️ from several different reviewers.

    Anyone can review a pull request on GitHub. To do so here:

    1. Scroll to the top of the PR main page.
    2. Click the Files changed tab and read through each file carefully, looking for potential issues.
    3. Click the Review changes button.
    4. Click Approve (or one of the other options) and add comments only if they have not already been stated in the PR.
    5. Click Submit review so that your ✔️ will be added to the list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions