Remote Code Execution Vulnerability in Yarn by yarnpkg
CVE-2025-8262
5.3MEDIUM
What is CVE-2025-8262?
A vulnerability exists in the explodeHostedGitFragment function within the hosted-git-resolver.js file of Yarn, allowing for inefficient regular expression complexity. This creates conditions that a remote attacker could exploit, leading to performance degradation or denial-of-service outcomes. The issue has been documented and addressed in a subsequent patch (commit ID: 97731871e674bf93bcbf29e9d3258da8685f3076), and it is highly recommended that users upgrade to a safe version to mitigate the potential risks.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
Yarn 1.22.0
Yarn 1.22.1
Yarn 1.22.2
References
CVSS V4
Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None
Timeline
Vulnerability published
Vulnerability Reserved
Credit
mmmsssttt (VulDB User)
