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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | yarn | — | 1.22.13 | Patch available | CNA |
| Fedora | Fedora | — | — | Not affected | CNA |
| Fedora | Extra Packages for Enterprise Linux | — | — | Not affected | CNA |
| — | yarn (npm) | before 1.22.13 | 1.22.13 | Patch available | GHSA-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
Remediation
- Fix · CNA yarn Fixed in 1.22.13
- Fix · GHSA-mpwj-fcr6-x34c yarn (npm) Fixed in 1.22.13 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2021-4435
- 2026-10-03 Alias added: GHSA-mpwj-fcr6-x34c
References
More Fedora vulnerabilities
- 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
Sources
- CVE-2021-4435 · CVE Program
- CVE-2021-4435 · NVD
- FIRST EPSS
- GHSA-mpwj-fcr6-x34c · GitHub Advisory Database · CC BY 4.0
- CVE-2021-4435 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences