Live threats

All CVEs / Yarnpkg

CVE-2019-10773Yarnpkg Yarn

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
1.5%
probability of exploitation in 30 days · percentile 75
Auth required
Yes
Published
Dec 16, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Yarn.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm yarn < 1.22.0 1.22.0 npm install yarn@1.22.0

Per OSV / GitHub Advisories (GHSA-5xf4-f2fq-f69j). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
yarnpkgyarn< 1.21.1

Official sources

References

Links published by the sources. Open them with care.