{"cve":"CVE-2021-4435","nvd":{"published":"2024-02-04T20:15:45.657","modified":"2026-06-17T04:19:45.067","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-426"],"references":["https://access.redhat.com/security/cve/CVE-2021-4435","https://bugzilla.redhat.com/show_bug.cgi?id=2262284","https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1","https://github.com/yarnpkg/yarn/releases/tag/v1.22.13","https://access.redhat.com/security/cve/CVE-2021-4435"],"products":["yarnpkg:yarn"],"source":"nvd","synced_at":"2026-10-19T21:44:57.175229480+00:00"},"epss":{"cve":"CVE-2021-4435","score":0.00301,"percentile":0.22814,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-mpwj-fcr6-x34c","url":"https://osv.dev/vulnerability/GHSA-mpwj-fcr6-x34c","summary":"Yarn untrusted search path vulnerability","modified":"2026-09-10T03:50:06.425385242Z","packages":[{"ecosystem":"npm","name":"yarn","purl":"pkg:npm/yarn","ranges":["<1.22.13"],"fixed":["1.22.13"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}