VendorsYarnpkgyarnall versions
Vulnerabilities

Yarnpkg Yarn

Ranked by severity, then by exploit likelihood. Click a CVE ID for its full record.

7CVEs
CVE-2019-5448
Yarn before 1.17.3 is vulnerable to Missing Encryption of Sensitive Data due to HTTP URLs in lockfile causing unencrypted authentication data to be sent over the network.
Published 2019-07-30 · Modified
8.1EPSS 0.007
CVE-2019-10773
In Yarn before 1.21.1, the package install functionality can be abused to generate arbitrary symlinks on the host filesystem by using specially crafted "bin" keys. Existing files could be overwritten depending on the current user permission set.
Published 2019-12-16 · Modified
7.8EPSS 0.015
CVE-2021-4435
Yarn: untrusted search path
Published 2024-02-04 · Modified
7.8EPSS 0.003
CVE-2020-8131
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-24 · Modified
7.5EPSS 0.052
CVE-2025-8262
yarnpkg Yarn hosted-git-resolver.js explodeHostedGitFragment redos
Published 2025-07-28 · Analyzed
7.5EPSS 0.007
CVE-2019-15608
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.
Published 2020-03-15 · Modified
5.9EPSS 0.018
CVE-2025-9308
yarnpkg Yarn request-manager.js setOptions redos
Published 2025-08-21 · Analyzed
5.5EPSS 0.002