Every CVE Search/ Get API key

CVE-2019-10773

Yarn Improper link resolution before file access (Link Following)

7.8 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.52%Down 0.1 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.8

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.

Record
CVE-2019-10773
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-59
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2019-10773
Updated
2026-11-02
EUVDEUVD-2020-0291 No score

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.

Record
EUVD-2020-0291
Updated
2026-11-03
GitHub AdvisoriesGHSA-5xf4-f2fq-f69j 7.8

Yarn Improper link resolution before file access (Link Following)

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.

Record
GHSA-5xf4-f2fq-f69j
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-78
Updated
2026-11-02
OSVBELL-CVE-2019-10773 7.8

CVE-2019-10773 does not affect BellSoft software

Record
BELL-CVE-2019-10773
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 7.8

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.

Record
CVE-2019-10773
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 6 moreShow less
OSVDEBIAN-CVE-2019-10773 7.8

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.

Record
DEBIAN-CVE-2019-10773
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-5xf4-f2fq-f69j 7.8

Yarn Improper link resolution before file access (Link Following)

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.

Record
GHSA-5xf4-f2fq-f69j
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-78
Updated
2026-11-02
OSVUBUNTU-CVE-2019-10773 7.8

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.

Record
UBUNTU-CVE-2019-10773
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVCLSA-2026-1786378841 No score

TuxCare security update for yarn (5 CVEs)

TuxCare rebuilt yarn to address 5 CVEs. Fixed in 1.15.2-tuxcare.1.

Record
CLSA-2026-1786378841
Updated
2026-11-02
OSVCLSA-2026-1786471987 No score

TuxCare security update for yarn (3 CVEs)

TuxCare rebuilt yarn to address 3 CVEs. Fixed in 1.21.0-tuxcare.1.

Record
CLSA-2026-1786471987
Updated
2026-11-02
OSVROOT-APP-NPM-CVE-2019-10773 No score

CVE-2019-10773 in yarn - Patched by Root

Root has patched CVE-2019-10773 in the yarn package for Root:npm. Multiple fixed versions available.

Record
ROOT-APP-NPM-CVE-2019-10773
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
yarn
npm
through 1.21.1
1.22.0
yarn
TuxCare:npm
From an advisory covering 5 CVEs
1.15.2-tuxcare.0 up to 1.15.2-tuxcare.1, plus listed versions
1.15.2
1.15.2-tuxcare.1
yarn
TuxCare:npm
From an advisory covering 3 CVEs
1.21.0-tuxcare.0 up to 1.21.0-tuxcare.1, plus listed versions
1.21.0
1.21.0-tuxcare.1
node-yarnpkg
Debian:12
before 1.21.1-1
1.21.1-1
node-yarnpkg
Debian:13
before 1.21.1-1
1.21.1-1
node-yarnpkg
Debian:14
before 1.21.1-1
1.21.1-1
yarn
npm
before 1.22.0
1.22.0
yarn
Root:npm
before 1.21.1-aikido.1
1.21.1-aikido.1
@rootio/yarn
Root:npm
before 1.21.1-root.io.1
1.21.1-root.io.1
node-yarnpkg
Ubuntu:20.04:LTS
All versions, plus listed versions
1.13.0-1build11.13.0-31.19.1-11.22.4-2
None known
node-yarnpkg
Ubuntu:22.04:LTS
All versions, plus listed versions
1.22.10+~cs22.25.14-31.22.10+~cs22.25.14-41.22.10+~cs22.25.14-51.22.10+~cs22.25.14-8
None known

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-10773 is a high vulnerability (CVSS 7.8) in Yarnpkg Yarn, published December 16, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.52%, the 74th percentile. Fixed in yarn 1.22.0.

References

Show 12 moreShow less
MoveEnter Open