Skip to content

CVE-2026-73566 (High) detected in tar-7.5.1.tgz #752

Description

@mend-bolt-for-github

CVE-2026-73566 - High Severity Vulnerability

Vulnerable Library - tar-7.5.1.tgz

tar for node

Library home page: https://registry.npmjs.org/tar/-/tar-7.5.1.tgz

Sample Path to Dependency File: /devel/electron39/files/packagejsons/package.json

Path to vulnerable library: /devel/electron39/files/packagejsons/package.json

Dependency Hierarchy:

  • @⁠electron-ci/is-valid-window-0.0.5.tgz (Root Library)
    • nan-2.23.0.tgz
      • node-gyp-11.5.0.tgz
        • ❌ tar-7.5.1.tgz (Vulnerable Library)

Found in HEAD commit: 25cf57a93f385839bd7e68424038ff713426e4e9

Found in base branch: master

Vulnerability Details

node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.21, node-tar's filesFilter in src/list.ts uses the recursive mapHas helper to walk an archive entry path upward with path.dirname() and no segment cap when tar.t(...) or tar.x(...) receives a non-empty member-selection list. A crafted GNU L or PAX x long-path header with thousands of slash-separated segments reaches this.filter(entry.path, entry) in Parser[CONSUMEHEADER] in src/parse.ts before Unpack[CHECKPATH] applies maxDepth, causing an uncatchable RangeError stack overflow that terminates asynchronous and streaming Node.js consumers. This issue is fixed in version 7.5.21.

Publish Date: 2026-08-13

URL: CVE-2026-73566

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-r292-9mhp-454m

Release Date: 2026-08-13

Fix Resolution: tar - 7.5.21


Step up your Open Source Security Game with Mend here

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions