CVE-2019-10773
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.
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
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 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
yarnnpm |
through 1.21.1 | 1.22.0 |
yarnTuxCare: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 |
yarnTuxCare: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-yarnpkgDebian:12 |
before 1.21.1-1 | 1.21.1-1 |
node-yarnpkgDebian:13 |
before 1.21.1-1 | 1.21.1-1 |
node-yarnpkgDebian:14 |
before 1.21.1-1 | 1.21.1-1 |
yarnnpm |
before 1.22.0 | 1.22.0 |
yarnRoot:npm |
before 1.21.1-aikido.1 | 1.21.1-aikido.1 |
@rootio/yarnRoot:npm |
before 1.21.1-root.io.1 | 1.21.1-root.io.1 |
node-yarnpkgUbuntu:20.04:LTS |
All versions, plus listed versions 1.13.0-1build11.13.0-31.19.1-11.22.4-2 |
None known |
node-yarnpkgUbuntu: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
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE 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
snyk.io/vuln/SNYK-JS-YARN-537806%2C
github.com/yarnpkg/yarn/commit/039bafd74b7b1a88a53a54f8fa6fa872615e90e7
github.com/yarnpkg/yarn/issues/7761
blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ITY5BC63CCC647DFNUQRQ5AJDKUKUNBI
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3HIZW4NZVV5QY5WWGW2JRP3FHYKZ6ZJ5
Show 12 moreShow less
access.redhat.com/errata/RHSA-2020:0475
nvd.nist.gov/vuln/detail/CVE-2019-10773
github.com/yarnpkg/yarn/pull/7755
lists.fedoraproject.org/archives/list/[email protected]/message/3HIZW4NZVV5QY5WWGW2JRP3FHYKZ6ZJ5
lists.fedoraproject.org/archives/list/[email protected]/message/ITY5BC63CCC647DFNUQRQ5AJDKUKUNBI
snyk.io/vuln/SNYK-JS-YARN-537806,
github.com/advisories/GHSA-5xf4-f2fq-f69j
docs.bell-sw.com/security/cves/CVE-2019-10773
security-tracker.debian.org/tracker/CVE-2019-10773
ubuntu.com/security/CVE-2019-10773
snyk.io/vuln/SNYK-JS-YARN-537806
cve.org/CVERecord?id=CVE-2019-10773