{"id":"CVE-2021-4435","aliases":["GHSA-mpwj-fcr6-x34c"],"url":"https://o3.security/vulnerability/CVE-2021-4435","summary":"Yarn untrusted search path vulnerability","details":"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.","published":"2024-02-04T20:15:45.657Z","modified":"2026-07-08T23:58:31.083372Z","cvss":{"score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"yarn","fixedVersion":"1.22.13"}],"fix":{"url":"https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1","label":"yarnpkg/yarn@67fcce8"},"references":[{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2021-4435"},{"type":"ADVISORY","url":"https://github.com/yarnpkg/yarn/releases/tag/v1.22.13"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2262284"},{"type":"FIX","url":"https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T23:58:31.083372Z"}}