Skip to content

Product

npm yarn vulnerabilities

5 published CVES affecting npm yarn, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).

Total
5
Critical
0
High
4
Medium
1
Low
0
Unscored
0
CISA KEV
0

Latest npm yarn CVEs

Newest publication first

  1. HighCVSS 7.8 EPSS 0.30%

    An untrusted search path vulnerability was found in Yarn. When a victim runs certain Yarn commands in a directory with attacker-controlled content, malicious commands could be executed in unexpected ways.

  2. MediumCVSS 5.9 EPSS 1.8%

    The package integrity validation in yarn < 1.19.0 contains a TOCTOU vulnerability where the hash is computed before writing a package to cache. It's not computed again when reading from the cache. This may lead to a cache pollution attack.

  3. HighCVSS 7.5 EPSS 5.2%

    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.

Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.