Read the docs
TI-2021-03291 Aliases CVE-2021-4435GHSA-mpwj-fcr6-x34c

Yarn: untrusted search path

Priority LOW 36CWE-426Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-426.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00301 22nd percentileScored 2026-11-07
Fix Fixed yarn: 1.22.13yarn (npm): 1.22.13

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—yarn—1.22.13Patch availableCNA
FedoraFedora——Not affectedCNA
FedoraExtra Packages for Enterprise Linux——Not affectedCNA
—yarn (npm)before 1.22.131.22.13Patch availableGHSA-mpwj-fcr6-x34c
  • yarn Vendor— Affected — Fixed in 1.22.13 Patch available CNA
  • Fedora VendorFedora Affected — Fixed in — Not affected CNA
  • Extra Packages for Enterprise Linux VendorFedora Affected — Fixed in — Not affected CNA
  • yarn (npm) Vendor— Affected before 1.22.13 Fixed in 1.22.13 Patch available GHSA-mpwj-fcr6-x34c

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:*before 1.22.13Vulnerableyarnpkg
  • cpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:* Versions before 1.22.13 Vulnerable ·yarnpkg

Remediation

  • Fix · CNA yarn Fixed in 1.22.13
  • Fix · GHSA-mpwj-fcr6-x34c yarn (npm) Fixed in 1.22.13 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-4435
  2. 2026-10-03 Alias added: GHSA-mpwj-fcr6-x34c

References

  • TI-2018-01029 Command injection in Red Hat dhcp CVSS 3.0HIGH 7.5
  • TI-2024-01796 Improper input validation in Fedora dnf5daemon-server CVSS 3.1HIGH 8.4
  • TI-2023-05737 Glibc: heap-based buffer overflow in __vsyslog_internal() CVSS 3.1HIGH 8.4
  • TI-2023-03845 Heap out of bound read in builtin.c CVSS 3.1HIGH 7.1
  • TI-2023-04922 Draw while calling getdrawinfo() CVSS 3.1MEDIUM 5.3
  • TI-2023-03123 Crash due to a null pointer dereference in the dn_nsp_send function CVSS 3.1MEDIUM 6.5
See all 95 →

Sources