CVE-2025-8262

HIGHCVSS 7.5/10EPSS 0.70%

Last modified

CVE-2025-8262 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. A vulnerability was found in yarnpkg Yarn up to 1.22.22. It has been classified as problematic. EPSS estimates a 0.70% chance of exploitation in the next 30 days.

Description

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.

Metrics

Weakness Enumeration

Affected Software

VendorProductVersions
YarnpkgYarn<= 1.22.22

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is CVE-2025-8262?
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.
How severe is CVE-2025-8262?
CVE-2025-8262 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 0.70% probability of exploitation in the next 30 days.
How do I fix CVE-2025-8262?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2025

Are you affected by CVE-2025-8262?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST