Incorrect Type Conversion or Cast Affecting org.webjars.npm:tar package, versions [,7.5.18)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.41% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-17909105
  • published10 Aug 2026
  • disclosed8 Jul 2026
  • creditIsmail Pelaseyed

Introduced: 8 Jul 2026

CVE-2026-59871  (opens in a new tab)
CWE-704  (opens in a new tab)

How to fix?

Upgrade org.webjars.npm:tar to version 7.5.18 or higher.

Overview

org.webjars.npm:tar is a full-featured Tar for Node.js.

Affected versions of this package are vulnerable to Incorrect Type Conversion or Cast via the src/pax.ts file. An attacker can cause a process crash by providing all-digit PAX path or linkpath values that are coerced to JavaScript numbers, leading to a TypeError during downstream path handling.

CVSS Base Scores

version 4.0
version 3.1