Staging Environment: Content and features may be unstable or change without notice.
Search for vulnerabilities
Vulnerability details: VCID-2qqs-1h2r-7udy
Vulnerability ID VCID-2qqs-1h2r-7udy
Aliases CVE-2021-4435
GHSA-mpwj-fcr6-x34c
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.
Status Published
Exploitability 0.5
Weighted Severity 8.0
Risk 4.0
Affected and Fixed Packages Package Details
Weaknesses (3)
System Score Found at
cvssv3 7.7 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-4435.json
cvssv3.1 7.7 https://access.redhat.com/security/cve/CVE-2021-4435
generic_textual HIGH https://access.redhat.com/security/cve/CVE-2021-4435
ssvc Track https://access.redhat.com/security/cve/CVE-2021-4435
epss 0.00051 https://api.first.org/data/v1/epss?cve=CVE-2021-4435
epss 0.00051 https://api.first.org/data/v1/epss?cve=CVE-2021-4435
epss 0.00051 https://api.first.org/data/v1/epss?cve=CVE-2021-4435
epss 0.00051 https://api.first.org/data/v1/epss?cve=CVE-2021-4435
cvssv3.1 7.7 https://bugzilla.redhat.com/show_bug.cgi?id=2262284
generic_textual HIGH https://bugzilla.redhat.com/show_bug.cgi?id=2262284
ssvc Track https://bugzilla.redhat.com/show_bug.cgi?id=2262284
cvssv3.1_qr HIGH https://github.com/advisories/GHSA-mpwj-fcr6-x34c
cvssv3.1 7.7 https://github.com/yarnpkg/yarn
generic_textual HIGH https://github.com/yarnpkg/yarn
cvssv3.1 7.7 https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1
generic_textual HIGH https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1
ssvc Track https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1
cvssv3.1 7.7 https://github.com/yarnpkg/yarn/releases/tag/v1.22.13
generic_textual HIGH https://github.com/yarnpkg/yarn/releases/tag/v1.22.13
ssvc Track https://github.com/yarnpkg/yarn/releases/tag/v1.22.13
cvssv3.1 7.7 https://nvd.nist.gov/vuln/detail/CVE-2021-4435
generic_textual HIGH https://nvd.nist.gov/vuln/detail/CVE-2021-4435
No exploits are available.
Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-4435.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H Found at https://access.redhat.com/security/cve/CVE-2021-4435
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-17T14:29:04Z/ Found at https://access.redhat.com/security/cve/CVE-2021-4435
Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H Found at https://bugzilla.redhat.com/show_bug.cgi?id=2262284
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-17T14:29:04Z/ Found at https://bugzilla.redhat.com/show_bug.cgi?id=2262284
Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H Found at https://github.com/yarnpkg/yarn
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H Found at https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-17T14:29:04Z/ Found at https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1
Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H Found at https://github.com/yarnpkg/yarn/releases/tag/v1.22.13
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-06-17T14:29:04Z/ Found at https://github.com/yarnpkg/yarn/releases/tag/v1.22.13
Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2021-4435
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.16187
EPSS Score 0.00051
Published At June 11, 2026, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2026-06-11T17:32:34.083220+00:00 Vulnrichment Import https://github.com/cisagov/vulnrichment/blob/develop/2021/4xxx/CVE-2021-4435.json 38.6.0