Back
CVE-2019-10773In Yarn before 1.21.1, the package install functionality can be abused to generate arbitrary symlinks on the host filesystem by using…
- 7.8HighCVSS base score
- 1.5%Exploitation in 30 daysEPSS · top 25% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By snyk
- 9 months later
· 9 months later
Published
- 5 years later
· 5 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.5% · top 25% of all CVEs (12 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
Yarn
- affected All versions prior to version 1.21.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
References
References7
- https://snyk.io/vuln/SNYK-JS-YARN-537806%2C (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/yarnpkg/yarn/commit/039bafd74b7b1a88a53a54f8fa6fa872615e90e7 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/yarnpkg/yarn/issues/7761#issuecomment-565493023 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn/ (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2020-766ce5adae (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2020-7525beefa1 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- RHSA-2020:0475 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2020-0291 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-5xf4-f2fq-f69j (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2019-10773)Record last updated .