---
title: "yarn security advisories"
description: "5 known security advisories for yarn, with the versions they affect and the version that fixes each."
url: https://inlinr.com/packages/yarn/security
lang: en
---

[Packages](https://inlinr.com/packages)

# yarn

1.22.22 · 9 Mar 2024 BSD-2-Clause 13.9M / week [Repository](https://github.com/yarnpkg/yarn) [Homepage](https://github.com/yarnpkg/yarn#readme) [npm](https://www.npmjs.com/package/yarn) [Atom feed](https://inlinr.com/packages/feed/yarn)

Your version 

## Security advisories

From OSV, open ones first. Each release line gets its own fix: an older major is fixed by a patch on that major, not by moving to the newest one.

| Line | Newest  | Where it stands                                                            |
| ---- | ------- | -------------------------------------------------------------------------- |
|      | 2.4.3   | No known advisory                                                          |
|      | 1.22.22 | 75 open advisories, worst high  · last release Mar 2024, no longer updated |

- High  
[Yarn untrusted search path vulnerability](https://inlinr.com/advisories/GHSA-mpwj-fcr6-x34c)GHSA-mpwj-fcr6-x34c · 4 Feb 2024  
fixed in 1.22.13
- High  
[Path Traversal in Yarn](https://inlinr.com/advisories/GHSA-8mfc-v7wv-p62g)GHSA-8mfc-v7wv-p62g · 9 Feb 2022  
fixed in 1.22.0
- High  
[Yarn Improper link resolution before file access (Link Following)](https://inlinr.com/advisories/GHSA-5xf4-f2fq-f69j)GHSA-5xf4-f2fq-f69j · 14 Feb 2020  
fixed in 1.22.0
- High  
[Missing Encryption of Sensitive Data in yarn](https://inlinr.com/advisories/GHSA-wqfc-cr59-h64p)GHSA-wqfc-cr59-h64p · 31 Jul 2019  
fixed in 1.17.3
- Moderate  
[TOCTOU Race Condition in Yarn](https://inlinr.com/advisories/GHSA-hjxc-462x-x77j)GHSA-hjxc-462x-x77j · 9 Feb 2022  
fixed in 1.19.0

### Quality and security signals

What [npm](https://www.npmjs.com/package/yarn) and [deps.dev](https://deps.dev/npm/yarn) say about the latest release. Signals, not a verdict.

Reading npm and deps.dev…

Reading releases, release notes and advisories…

Registry facts last checked 22 Nov 2026\. Releases and advisories last read 22 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
