{"cve":"CVE-2020-8131","nvd":{"published":"2020-02-24T15:15:12.020","modified":"2026-06-17T03:25:54.897","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5},"cwes":["CWE-22"],"references":["https://github.com/yarnpkg/yarn/pull/7831","https://hackerone.com/reports/730239","https://github.com/yarnpkg/yarn/pull/7831","https://hackerone.com/reports/730239"],"products":["yarnpkg:yarn"],"source":"nvd","synced_at":"2026-10-19T21:02:53.949909883+00:00"},"epss":{"cve":"CVE-2020-8131","score":0.05159,"percentile":0.92434,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8mfc-v7wv-p62g","url":"https://osv.dev/vulnerability/GHSA-8mfc-v7wv-p62g","summary":"Path Traversal in Yarn","modified":"2023-11-08T04:04:13.896005Z","packages":[{"ecosystem":"npm","name":"yarn","purl":"pkg:npm/yarn","ranges":["<1.22.0"],"fixed":["1.22.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}