CVE-2025-9308 MEDIUM

CVE-2025-9308: yarnpkg Yarn request-manager.js setOptions redos

Vendor Yarnpkg
Product Yarn
Weakness CWE-1333
Published August 21, 2025
Last update August 21, 2025

CVSS base score

4.8/10
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X

What the vulnerability does

01Description

A vulnerability has been found in yarnpkg Yarn up to 1.22.22. This impacts the function setOptions of the file src/util/request-manager.js. Such manipulation leads to inefficient regular expression complexity. Local access is required to approach this attack. This vulnerability only affects products that are no longer supported by the maintainer.

Key dates

02Disclosure timeline

August 21, 2025 CVE published
August 21, 2025 Record updated