CVE-2025-8262Yarnpkg Yarn
Medium 5.3
Follow: this CVE · Yarnpkg · Yarnpkg Yarn We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 4.0
- 5.3
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 28, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
A vulnerability was found in yarnpkg Yarn up to 1.22.22. It has been classified as problematic. Affected is the function explodeHostedGitFragment of the file src/resolvers/exotics/hosted-git-resolver.js. The manipulation leads to inefficient regular expression complexity. It is possible to launch the attack remotely. The patch is identified as 97731871e674bf93bcbf29e9d3258da8685f3076. It is recommended to apply a patch to fix this issue.
What to do
- Apply the vendor's security update for Yarn.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| yarnpkg | yarn | ≤ 1.22.22 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit
- github.com Patch
- vuldb.com Permissions Required VDB Entry
- vuldb.com Third Party Advisory VDB Entry
- vuldb.com Third Party Advisory VDB Entry