P.K. SHARMA

Cyber security intelligence, AI governance, practitioner analysis

GitHub lists 18 node-tar flaws; 8.0.2 or later clears all 18 by its ranges, and tar 8 needs Node.js 22

GitHub's database added 18 reviewed node-tar entries between 19:27 UTC on 1 December and 01:45 UTC on 2 December, for fixes shipped from 26 November. The project's own list shows 33; tar 8.0.2 or later clears GitHub's 18, and tar 8 needs Node.js 22.

By · LinkedIn · · 13 min read

3.65 days from the fix to the first database entry (derived)

GitHub's global advisory database lists 18 reviewed entries for the npm package tar (node-tar) that it published between 19:27 UTC on 1 December 2026 and 01:45 UTC on 2 December. The earliest of the 16 that name 8.0.0 as the first patched version appeared 3 days 15 hours 37 minutes (3.65 days, derived) after npm recorded tar 8.0.0 at 03:49 UTC on 28 November. The latest of the 16 followed 3.91 days after. The fix is not new. The database caught up.

What that does not establish: that anyone attacked a system through tar, that a given project can reach the affected code, or that moving to 8.0.0 is enough. As read at 08:11 UTC on 2 December 2026, no source this site read says anyone has been attacked, and none says how the flaws were found. The project's own published list is larger than GitHub's: it shows 33 advisories dated from 28 November, of which GitHub's database held 18 when read.

Four dates for each entry, and whose they are

A project's own advisory date, the CVE record date, the date GitHub's database lists it and the date the fix was released are four different things. This site read each from its owner's own record, by API, between 07:59 and 08:11 UTC on 2 December 2026.

Dates by owner. npm registry, the project's published advisory list on GitHub, CVE.org and GitHub's global database, read 2 December 2026

Whose dateFieldWhat it prints (UTC)
npm registrytime of each version7.5.24 at 17:40 on 26 Nov. 8.0.0 at 03:49 and 8.0.2 at 06:01, both 28 Nov. 8.0.5 at 00:05 on 2 Dec.
The project's listpublished_at28 of its 33 advisories dated 04:14 to 06:16 on 28 Nov, including all 18 that GitHub lists. Five Low entries dated 30 Nov and 2 Dec.
CVE.org (all 26 CVE records)dateReserved20:55 to 22:04 on 30 Nov, 2.7 days after 8.0.0 (derived). Assigner GitHub_M.
CVE.org (all 26 CVE records)datePublished16:42 to 18:31 on 1 Dec.
GitHub global databasepublished_at and github_reviewed_at19:27 on 1 Dec to 01:45 on 2 Dec. The two fields are equal on every one of the 18.

This site fetched the CVE.org record for every one of the 26 CVE numbers that appear in the project's list since 28 November (18 in GitHub's list, 8 not), not a sample. For the 18, the database listed each entry between 56 minutes and 8 hours 36 minutes after the CVE record was published (derived). The project's own updated_at on each of the 18 falls within 183 seconds of the CVE.org datePublished (derived). The record does not say why the database waited, or why the project's dates on 28 November precede the CVE reservations by more than two days (derived).

Drawn by this site from the npm registry record, the project's advisory list on GitHub, CVE.org and GitHub's global database, all read 2 December 2026. Times UTC.

What the 18 entries are, by severity and fixed version

Counted from GitHub's own fields (derived): 17 High and 1 Medium. The Medium is CVE-2026-140237. Sixteen name 8.0.0 as the first patched version, one names 8.0.2 and one names 7.5.24. CVE.org agrees on every range text for the 18, and its CVSS 4.0 scores, assigned by GitHub as the CNA, run from 6.9 to 7.2.

The 18 entries by severity and first patched version, counted from GitHub's global database fields read at 08:11 UTC on 2 December 2026 (derived)

First patchedHighMedium
8.0.0151
8.0.210
7.5.2410
All 18171

Following the rule of describing each by its one line summary only, this site groups them (derived) into three categories: seven about link handling when unpacking an archive, seven about how archive headers are parsed, and four about a crash, a hang or heavy memory or processor use from a small archive. No summary or advisory text is reproduced here and this article does not describe how any of them is triggered.

Drawn by this site from GitHub's global advisory database fields, read 2 December 2026. The category column is this site's grouping of each one line summary.

Two details change how to read the ranges. First, eight of the 18 print a range with no lower bound (seven say < 8.0.0, one says < 8.0.2), so as printed they cover every older line, including 6.x. In the week to 30 November, 6.x was 20.14% of tar downloads (derived), and the database names no 6.x fix. Second, the number range CVE-2026-140234 to CVE-2026-140252 holds 19 numbers; GitHub's list has 18. The missing one, CVE-2026-140243, is on CVE.org and in the project's list.

Two version lines: what each one is flagged for

A copy of tar 7.5.24 is not a clean copy. At 08:11 UTC on 2 December, npm's registry audit endpoint (queried by POST for each version) and the OSV API both returned the same counts for the versions checked.

What advisory queries listed for chosen tar versions, with the registry's Node.js floor, read 08:11 UTC on 2 December 2026

VersionPublished (UTC), Node floorListed by npm audit endpoint and OSV
7.5.2224 Jul, Node 18 or later18 entries
7.5.2426 Nov 17:40, Node 18 or later17 entries. The 18th names 7.5.24 as its fix.
8.0.028 Nov 03:49, Node 22 or later1 entry, fixed in 8.0.2
8.0.228 Nov 06:01, Node 22 or laterNone
8.0.52 Dec 00:05, Node 22 or laterNone

The 7.x line therefore has one listed fix and, for the other 17, the database names a release on the 8.x line. The cost of that is stated by the project in the release notes for 8.0.0: "A new API. See "Migration from version 7" in the README." Its breaking changes include Drop support for node <22, "Remove callbacks and Node.js streams. Each command returns a promise.", "In strict mode, extraction stops at the first error." and "The first null block is the end of the archive, as it is for bsdtar." It also says "Remove all runtime dependencies" and names minipass, minizlib, @isaacs/fs-minipass, chownr and yallist. The notes for 8.0.1 to 8.0.5 list parser and extraction changes and print no advisory numbers.

Which line is yours changes the job. On 8.x, the move is a patch release. On 7.x, it is a major upgrade with an API change and a Node.js floor of 22. On 6.x or older, the database lists no fix at all. Whether 6.x and older lines are in fact affected is not established by the range text alone.

The project's list and GitHub's list

The project's published advisory list on GitHub shows 33 advisories dated 28 November to 2 December: 28 rated medium and 5 rated low. All 18 of GitHub's entries are on it. The other 15 were not in GitHub's database when read, and direct lookups of each one in the database returned not found at 08:11 UTC. This article does not explain why: the record does not say.

The 33 advisories on the project's list, split by what GitHub's database held at 08:11 UTC on 2 December 2026 (derived from the project's list and GitHub's database)

GroupCountWhat the list prints
In GitHub's database18Rated medium by the project. GitHub rates 17 High and 1 Medium. CVE numbers 140234 to 140252 except 140243.
Not in GitHub's database, with a CVE number8Rated medium. All 8 are published on CVE.org, rated High there under CVSS 4.0. Patched 8.0.0.
Not in GitHub's database, rated Low5No CVE number. Patched 8.0.3, 8.0.4 and three at 8.0.5 (dated 00:05 and 00:06 on 2 Dec).
Not in GitHub's database, medium, no CVE2No patched version printed. The range text refers to the main branch.

The project's three newest Low entries, dated 00:05 to 00:06 UTC on 2 December, all name 8.0.5. Two older Low entries name 8.0.3 and 8.0.4. Every one of the five has a range that includes 8.0.2, which is why 8.0.2 satisfies GitHub's 18 but not the project's whole list (derived). Seventeen of the 18 are rated medium by the project and High by GitHub: the two lists use different severities for the same flaws and this site does not say which is right.

What the records state and do not state, read 2 December 2026

RecordStatedNot stated
GitHub global database18 reviewed entries, severities, ranges, first patched versions.Why 15 of the project's 33 are missing. Any attack.
The project's list33 advisories with dates, ranges and patched versions, most dated 28 Nov.Patched versions for two entries. Why its severity differs from GitHub's.
The 8.0.0 release notes43 advisory numbers (40 distinct) under security fixes. 27 of the project's 33 are among them.Anything about the 13 numbers that are not on the project's list at read time.
CVE.org26 published records, all assigned by GitHub_M, ranges as the database prints them.Exploitation. Fixed versions beyond the range text.

Three differences remain unresolved. The 8.0.0 release notes name CVE-2026-140240's advisory among the 8.0.0 security fixes, while GitHub, CVE.org, the project's list and the audit endpoint all give 8.0.2. For two entries the project's list prints a range ending <= 8.0.0 with 8.0.0 as the patched version, where GitHub and CVE.org print < 8.0.0. And two project entries have no patched version printed, yet the 8.0.0 release notes name both among the link fixes.

Who ships tar, and which range they ask for

Tar had 113,520,680 downloads from 24 to 30 November (api.npmjs.org, read on 2 December). Downloads count installs of every kind, including build servers and caches, so they are a scale and not a user count. By major version (derived): 7.x was 87,595,338 (77.16%), 6.x 22,865,642 (20.14%) and 8.x 51,541 (0.05%). Version 7.5.22 alone was 36,375,508 (32.04%). The window ends on 30 November, before 8.0.5 and before most of the 8.x uptake could register.

Packages whose latest manifest in the npm registry declares tar, with downloads for 24 to 30 November 2026 from api.npmjs.org, read on 2 December

Package and version readDownloads that weektar range declared, and Node.js floor
node-gyp 13.1.049,686,818^7.5.7. Node ^22.22.2, ^24.15.0 or 26 and later.
npm 12.2.322,466,060^7.5.22, and tar is listed as a bundled dependency. Node ^22.22.2, ^24.15.0 or 26 and later.
@mapbox/node-pre-gyp 2.0.321,401,626^7.4.0. Node 18 or later.
pacote 22.0.115,025,160^7.4.3. Node ^22.22.2, ^24.15.0 or 26 and later.
app-builder-lib 26.18.09,385,596^7.5.7. Node 14 or later.
sqlite3 6.0.12,532,586^7.5.10. Node 20.17.0 or later.
lerna 10.1.31,974,3747.5.22 exactly. Node ^22.22.2, ^24.15.0 or ^26.0.0.
node-pre-gyp 0.17.0998,003^4.4.13. No Node.js floor declared.
cmake-js 8.0.0844,035^7.5.6. Node ^20.17.0 or 22.9.0 and later.

A manifest says what a package asks for, not which version your lockfile resolved, and it does not list every dependent: the sources this site read give no count of dependents, so none is claimed. What they do show: none of the nine asks for tar 8. This site's inference (not the packages' statement) is that a caret range on 7.x, which accepts 7.5.24 but not 8.x, leaves each of them where the database lists 17 of 18 entries until its maintainers publish a new release. Tools that support Node 18 or 20, such as sqlite3, @mapbox/node-pre-gyp and cmake-js, could not depend on tar 8 without raising their own Node.js floor, since tar 8 needs 22.

Against 25 of the 26 CVE.org records, the stated range includes 7.5.24 (derived; only CVE-2026-140242 ends at 7.5.24). npm's audit endpoint lists 17 for 7.5.24. The 8 CVE records that are not in GitHub's database are the gap between 25 and 17 (derived). That is a pattern, not an explanation, and it is why a clean audit result is not proof. This site's 1 December briefing on cross-spawn found three package queries listing nothing for versions the project itself called affected.

Exploitation: nothing stated, and what that does not show

CISA's Known Exploited Vulnerabilities catalogue, version 2026.11.30 with 1,810 entries, released at 19:44 UTC on 30 November, lists none of the 26 CVE numbers and no entry whose product is tar (read at 08:01 UTC on 2 December). The catalogue was released before the CVE numbers were reserved, 20:55 UTC at the earliest, so it could not have listed them. An absence from it does not show that nothing has happened. Neither the project, GitHub nor CVE.org says anyone has been attacked, and this site has no evidence that anyone has.

What to do, in order

Commands as npm documents them. The npm ls page says that positional arguments limit the tree to the paths to the named package and that --all shows "every outdated or installed package" and not only direct dependencies; the npm explain page says it prints "the chain of dependencies causing a given package to be installed". Run both for tar in each project, workspace and image.

bash
npm ls tar --all
npm explain tar
Built from the synopsis lines of the npm ls and npm explain pages in npm's documentation, read 08:02 UTC on 2 December 2026

Take this with you

Ranked checklist (this site's suggestion unless it says whose)

  • Find every copy of tar: lockfiles, installed trees, Docker images, CI caches and tools installed globally. npm's own registry manifest lists tar as a bundled dependency, so a copy can sit inside a tool that has no tar entry in your project.
  • Note which line each copy is on. GitHub's database lists 17 of its 18 entries against 7.5.24 and names a release on the 8.x line as the fix; for 6.x and older it lists no fix.
  • Move to the patched version of the line you can run. Where Node.js 22 or later is available, GitHub's 18 are cleared at 8.0.2 or later (GitHub's ranges), and 8.0.5 is the highest patched version on the project's list. Test first: the project's release notes list breaking API changes.
  • Where a tool pins 7.x and you cannot wait for its maintainers, npm's documentation describes overrides in the root package.json for replacing a dependency with a known security issue. Treat that as a test of the tool: an override hands tar 8 to code written for tar 7.
  • Until then, do not extract or list archives from untrusted sources with versions the database lists as affected.
  • Rebuild images, clear CI and build caches and redeploy anything that carries a copy of node_modules inside it.
  • Do not treat a clean audit as proof: 15 of the project's 33 advisories were not in GitHub's database at 08:11 UTC. Check the project's list and GitHub's again later, for the 8 with CVE numbers, the 5 Low and the 2 with no patched version.

The question the record leaves open

The sources do not say why the project's advisories dated 28 November reached GitHub's database on 1 and 2 December, why 15 are still absent, or whether any release of tar 7 beyond 7.5.24 is planned. The question for a team is narrower: which copy of tar in your build is still on 7.x or earlier, and who owns the decision to raise the Node.js floor to 22 so it can leave?

Key facts

Sources

  1. PrimaryThe tar package record: publish time of every version, engines fields and dist tags, used for fix dates and the Node.js floornpm registryaccessed 2026-12-02
  2. PrimaryGitHub global advisory database list for npm package tar, fields only: the 18 entries of 1 and 2 December and earlier entriesGitHubaccessed 2026-12-02
  3. PrimaryThe project's published advisory list on GitHub, fields only: the 33 advisories dated from 28 Novembernode-tar projectaccessed 2026-12-02
  4. PrimaryRelease notes for 8.0.0 to 8.0.5, read only for version terms, breaking changes and the advisory numbers namednode-tar projectaccessed 2026-12-02
  5. PrimaryCVE record for CVE-2026-140234: dates, CVSS 4.0 score, range text; one of 26 records readCVE.orgaccessed 2026-12-02
  6. PrimaryCVE record for CVE-2026-140240, the entry whose fix is 8.0.2CVE.orgaccessed 2026-12-02
  7. PrimaryCVE record for CVE-2026-140242, the entry whose fix is 7.5.24CVE.orgaccessed 2026-12-02
  8. PrimaryCVE record for CVE-2026-140243, the number missing from GitHub's listCVE.orgaccessed 2026-12-02
  9. PrimaryKnown Exploited Vulnerabilities catalogue, version 2026.11.30, checked for the 26 CVE numbers and for tarCISAaccessed 2026-12-02
  10. PrimaryWeekly downloads of tar, 24 to 30 November 2026npmaccessed 2026-12-02
  11. PrimaryWeekly downloads of tar by version, 24 to 30 November 2026npmaccessed 2026-12-02
  12. PrimaryLatest manifest of npm: declares tar ^7.5.22 and lists it as a bundled dependencynpm registryaccessed 2026-12-02
  13. PrimaryLatest manifest of node-gyp: declares tar ^7.5.7npm registryaccessed 2026-12-02
  14. PrimaryLatest manifest of pacote: declares tar ^7.4.3npm registryaccessed 2026-12-02
  15. PrimaryLatest manifest of sqlite3: declares tar ^7.5.10, Node 20.17.0 or laternpm registryaccessed 2026-12-02
  16. Primarynpm ls: lists installed packages as a tree, the --all optionnpm documentationaccessed 2026-12-02
  17. Primarynpm explain: the chain of dependencies that causes a package to be installednpm documentationaccessed 2026-12-02
  18. Primarypackage.json: the overrides field, root package onlynpm documentationaccessed 2026-12-02
  19. Reported byThis site's 1 December briefing on cross-spawn, where package advisory queries listed nothing for versions the project called affectedpk-sharma.comaccessed 2026-12-02

Share this briefing

Know someone who owns this problem? Send it to them.

Related briefings

The briefing, in your inbox

Practitioner analysis of cyber and AI security news. No vendor noise.

How often

Every new briefing in one email, at 7am, or at 7am, 12:30pm and 6pm. Nothing is sent when nothing is new. Unsubscribe any time.