Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-4435

23
FAUCET Score

CVE-2021-4435 describes an untrusted search path vulnerability in Yarn (yarnpkg yarn). This flaw allows for arbitrary command execution when a user runs specific Yarn commands within a directory containing attacker-controlled content. With a CVSS score of 7.8 (HIGH), this vulnerability has a low attack complexity and requires user interaction, but can lead to high impact across confidentiality, integrity, and availability. Currently, there is no evidence of active exploitation, public exploit code, or significant community discussion surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
< 1.22.13CPE matchmatch criteria
cpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

7.8HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
1.8
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.30%
Probability of exploitation in next 30 days
EPSS Percentile
22.3%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0030 is in the 21st percentile among its peer group of 11,617 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

github_advisorypatch availablevia nvd_reference
View patch
npmpatch availablevia ghsa
Product: yarnFixed in: 1.22.13

Vendor Advisories (2)

npmGHSA-mpwj-fcr6-x34chigh

Yarn untrusted search path vulnerability

Feb 4, 2024
redhatCVE-2021-4435Moderate

yarn: untrusted search path

Sep 20, 2021

References

access.redhat.com / security/cve/CVE-2021-4435
Third Party Advisory
bugzilla.redhat.com / show_bug.cgi
Issue Tracking
github.com / yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1
Patch
github.com / yarnpkg/yarn/releases/tag/v1.22.13
Release Notes