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

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-21T16:02:12.172Z
- Modified: 2026-06-17T10:08:43.407Z
- Weaknesses: CWE-400, CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- yarnpkg Yarn: 1.22.0; 1.22.1; 1.22.2; 1.22.3; 1.22.4; 1.22.5; 1.22.6; 1.22.7; 1.22.8; 1.22.9; 1.22.10; 1.22.11; and 12 more

## Every score

- VulDB: CVSS:4.0 4.8 Medium `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`
- VulDB: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:X/RC:R`
- VulDB: CVSS:3.0 3.3 Low `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:X/RC:R`
- VulDB: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:ND/RC:UR`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/yarnpkg/yarn/pull/9203> (exploit, issue-tracking)
- <https://vuldb.com/?id.320913> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.320913> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.633486> (third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2025-9308](https://www.cve.org/CVERecord?id=CVE-2025-9308), CVE Terms of Use, modified 2025-08-21
- NVD: [CVE-2025-9308](https://nvd.nist.gov/vuln/detail/CVE-2025-9308), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-9308 · Whole record: https://cve.day/CVE-2025-9308.json · Rebuilt by cve.day 2026-11-25T22:59:03.481Z
