cve.bz

CVE-2021-4435

7.8 highEPSS 0.3%

High (7.8) in yarnpkg yarn. EPSS 0.3% chance of exploitation in the next 30 days. Fixed in yarn 1.22.13.

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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.3% chance of exploitation in the next 30 days; higher than 22% of CVEs (scores of 2026-10-31)
CWE
CWE-426
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mpwj-fcr6-x34cnpmyarn<1.22.131.22.13

References

Check your stackJSON