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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | yarn | — | 1.22.13 |
| Fedora | Fedora | — | — |
| Fedora | Extra Packages for Enterprise Linux | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-yarnpkg | 1.22.19+~cs24.27.18-1 | — |
| Debian 13 | node-yarnpkg | 1.22.19+~cs24.27.18-1 | — |
| Debian 12 | node-yarnpkg | 1.22.19+~cs24.27.18-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-yarnpkg | No fix yet | — |
| Ubuntu 26.04 LTS | node-yarnpkg | No fix yet | — |
| Ubuntu 25.10 | node-yarnpkg | No fix yet | — |
| Ubuntu 24.04 LTS | node-yarnpkg | No fix yet | — |
| Ubuntu 22.04 LTS | node-yarnpkg | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | node-yarnpkg | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | yarn | 1.22.13-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | yarn | < 1.22.13 | 1.22.13 | GHSA-mpwj-fcr6-x34c |