CVE-2020-8131: Yarnpkg Yarn

High severity, CVSS 7.5. EPSS: 5.2% chance of exploitation in the next 30 days.

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.

Affected products

  • Yarnpkg Yarn: up to and including 1.21.1

Published 2020-02-24. Last modified 2026-06-17.