# CVE-2025-25290: @octokit/request has a Regular Expression in fetchWrapper that Leads to ReDoS Vulnerability Due to Catastrophic Backtracking

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- 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.82%, higher than 58% of CVEs (2026-12-01)
- Published: 2025-02-14T18:00:18.000Z
- Modified: 2026-09-10T03:50:06.180Z
- Also known as: GHSA-rmvr-2pp2-xj38
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

@octokit/request sends parameterized requests to GitHub’s APIs with sensible defaults in browsers and Node. Starting in version 1.0.0 and prior to versions 9.2.1 and 8.4.1, the regular expression `/<([^>]+)>; rel="deprecation"/` used to match the `link` header in HTTP responses is vulnerable to a ReDoS (Regular Expression Denial of Service) attack. This vulnerability arises due to the unbounded nature of the regex's matching behavior, which can lead to catastrophic backtracking when processing specially crafted input. An attacker could exploit this flaw by sending a malicious `link` header, resulting in excessive CPU usage and potentially causing the server to become unresponsive, impacting service availability. Versions 9.2.1 and 8.4.1 fix the issue.

(As written by CVE List.)

## Affected

- octokit request.js: >= 1.0.0, < 9.2.1
- @octokit/request (npm): from 9.0.0-beta.1 before 9.2.1; from 1.0.0 before 8.4.1

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/octokit/request.js/security/advisories/GHSA-rmvr-2pp2-xj38> (web)
- <https://github.com/octokit/request.js/commit/34ff07ee86fc5c20865982d77391bc910ef19c68> (web)
- <https://github.com/octokit/request.js/commit/356411e3217019aa9fc8a68f4236af82490873c2> (web)
- <https://github.com/octokit/request.js/commit/6bb29ba92a52f7bf94469c3433707c682c17126c> (web)
- <https://github.com/octokit/request.js/releases/tag/v8.4.1> (web)
- <https://github.com/octokit/request.js/releases/tag/v9.2.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-25290> (advisory)
- <https://github.com/octokit/request.js> (package)

## Sources

- CVE List: [CVE-2025-25290](https://www.cve.org/CVERecord?id=CVE-2025-25290), CVE Terms of Use, modified 2026-01-16
- GitHub Advisory Database: [GHSA-rmvr-2pp2-xj38](https://github.com/advisories/GHSA-rmvr-2pp2-xj38), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-25290](https://nvd.nist.gov/vuln/detail/CVE-2025-25290), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-25290 · Whole record: https://cve.day/CVE-2025-25290.json · Rebuilt by cve.day 2026-11-25T22:58:54.116Z
