Vulnerability record · CVE-2020-8131 · published 24 February 2020
CVE-2020-8131: Yarnpkg yarn path traversal vulnerability
Yarnpkg · Yarn
Arbitrary filesystem write vulnerability in Yarn before 1.22.0 allows attackers to write to any path on the filesystem and potentially lead to arbitrary code execution by forcing the user to install a malicious package.
Description
Arbitrary filesystem write vulnerability in Yarn before 1.22.0 allows attackers to write to any path on the filesystem and potentially lead to arbitrary code execution by forcing the user to install a malicious package.
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/yarnpkg/yarn/pull/7831 | PatchThird Party Advisory |
| https://hackerone.com/reports/730239 | ExploitThird Party Advisory |
| https://github.com/yarnpkg/yarn/pull/7831 | PatchThird Party Advisory |
| https://hackerone.com/reports/730239 | ExploitThird Party Advisory |
Track CVE-2020-8131 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2020-8131), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.