{"id":"GHSA-mpwj-fcr6-x34c","revision":"a3fedecd4e564bf29648bdf14d7d7627","records":[{"revision":"a3fedecd4e564bf29648bdf14d7d7627","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-mpwj-fcr6-x34c","aliases":["CVE-2021-4435"],"title":"Yarn untrusted search path vulnerability","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.","state":0,"publishedAt":"2024-02-04T21:30:43+00:00","modifiedAt":"2026-09-10T03:50:06.4253852+00:00","affected":[{"ecosystem":"npm","name":"yarn","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.22.13"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2021-4435","https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1","https://access.redhat.com/security/cve/CVE-2021-4435","https://bugzilla.redhat.com/show_bug.cgi?id=2262284","https://github.com/yarnpkg/yarn","https://github.com/yarnpkg/yarn/releases/tag/v1.22.13"],"sourceUrl":"https://github.com/advisories/GHSA-mpwj-fcr6-x34c","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-mpwj-fcr6-x34c","identifiers":["GHSA-mpwj-fcr6-x34c","CVE-2021-4435"]},"retained":false,"historicalAffected":[]}],"coverage":[]}