CVE-2025-25289: Octokit Request-Error.js

Medium severity, CVSS 5.3. EPSS: 0.6% chance of exploitation in the next 30 days.

@octokit/request-error is an error class for Octokit request errors. Starting in version 1.0.0 and prior to version 6.1.7, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the processing of HTTP request headers. By sending an authorization header containing an excessively long sequence of spaces followed by a newline and "@", an attacker can exploit inefficient regular expression processing, leading to excessive resource consumption. This can significantly degrade server performance or cause a denial-of-service (DoS) condition, impacting availability. Version 6.1.7 contains a fix for the issue.

Affected products

  • Octokit Request-Error.js: from 1.0.0, before 6.1.7 (fixed in 6.1.7)

Published 2025-02-14. Last modified 2026-06-17.