{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-8131","id":"CVE-2020-8131","title":"Path Traversal in Yarn","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.","descriptionLong":"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.","published":"2020-02-24T14:41:23.000Z","updated":"2026-10-20T10:54:24.697943921Z","reserved":"2020-01-28T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":5.1,"vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["yarn"],"affectedProducts":[{"vendor":"n/a","product":"yarn","defaultStatus":null,"versions":[{"status":"affected","version":"Fixed Version: 1.22.0"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"yarn","purl":"pkg:npm/yarn","ranges":["<1.22.0"],"fixed":["1.22.0"],"advisory":"GHSA-8mfc-v7wv-p62g"}],"cwes":["CWE-22"],"aliases":["GHSA-8mfc-v7wv-p62g"],"references":[{"url":"https://hackerone.com/reports/730239","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/yarnpkg/yarn/pull/7831","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8131","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.05159,"epssPercentile":0.92604,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-8131","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8131","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-8131","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-8mfc-v7wv-p62g","ok":true,"note":"GHSA-8mfc-v7wv-p62g"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-8131","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}