Link Following Affecting yarn package, versions <1.21.1-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.51% (71st 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-WOLFILATEST-YARN-17368333
  • published18 Jun 2026
  • disclosed16 Dec 2019

Introduced: 16 Dec 2019

CVE-2019-10773  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade Wolfi yarn to version 1.21.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream yarn package and not the yarn package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

In Yarn before 1.21.1, the package install functionality can be abused to generate arbitrary symlinks on the host filesystem by using specially crafted "bin" keys. Existing files could be overwritten depending on the current user permission set.

CVSS Base Scores

version 3.1