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.
Conclusion & alert: CVE-2025-8262 is rated High Exploit Risk (60.4/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.54%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-24 | 0.16% | 0.54% | +0.39% |
| 2 | 2026-04-13 | 0.06% | 0.16% | +0.10% |
| 3 | 2025-08-01 | — | 0.06% | — |
Full EPSS history (4 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 4.3 | 3.1 | MEDIUM |
|
2.8 | 1.4 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 4.0 | 2.0 | MEDIUM |
|
8.0 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
medium | CVE-2025-8262: 1 source package rows (yarn); 3 state rows across 3 repos (3.22-community, 3.23-community, edge-community); fixed 0, open 3. | https://security.alpinelinux.org/vuln/CVE-2025-8262 |
debian
|
not yet assigned | CVE-2025-8262 not yet assigned priority: Debian including 1 source packages (node-yarnpkg), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 5. | https://security-tracker.debian.org/tracker/CVE-2025-8262 |
ubuntu
|
medium | CVE-2025-8262 medium priority: Ubuntu including 1 source packages (node-yarnpkg), 6 status rows across 6 suites (focal, jammy, noble, plucky, questing, upstream): needs-triage 5, ignored 1. | https://ubuntu.com/security/CVE-2025-8262 |
| URL | Tags |
|---|---|
| https://github.com/yarnpkg/yarn/pull/9199 | Exploit |
| https://github.com/yarnpkg/yarn/pull/9199/commits/97731871e674bf93bcbf29e9d3258da8685f3076 | Patch |
| https://vuldb.com/?ctiid.317850 | Permissions Required VDB Entry |
| https://vuldb.com/?id.317850 | Third Party Advisory VDB Entry |
| https://vuldb.com/?submit.617393 | Third Party Advisory VDB Entry |