yarn vulnerabilities and fixes
Recent CVEs affecting yarn, with upgrade or downgrade steps. 2 tracked.
yarn has 2 tracked vulnerabilities, 0 critical. A fixed release or vendor patch exists for 2. Most recent: 2025-08-21. Highest priority: CVE-2025-8262 (score 34/100).
- CVE-2025-9308 LOW 3.3 UPGRADE A vulnerability has been found in yarnpkg Yarn up to 1.22.22
- CVE-2025-8262 MEDIUM 4.3 UPGRADE A vulnerability was found in yarnpkg Yarn up to 1.22.22
FAQ
How do I fix yarn vulnerabilities?
Open the CVE for your version, check the affected range, then follow the listed action: upgrade to the fixed release, or downgrade or mitigate if no fix exists yet. Commands for each OS are shown on every CVE page.
Is yarn being exploited right now?
None of the tracked yarn CVEs are on the CISA Known Exploited Vulnerabilities list at the moment. This is checked every 20 minutes.
Which yarn CVE should I patch first?
CVE-2025-8262 currently ranks highest (34/100): A vulnerability was found in yarnpkg Yarn up to 1.22.22.