Read the docs
TI-2025-18939 Aliases CVE-2025-25285GHSA-x4c5-c7rf-jjgv

@octokit/endpoint has a Regular Expression in parse that Leads to ReDoS Vulnerability Due to Catastrophic Backtracking

Priority MEDIUM 63CWE-1333Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 9 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.

Summary

@octokit/endpoint turns REST API endpoints into generic request options. Starting in version 4.1.0 and prior to version 10.1.3, by crafting specific `options` parameters, the `endpoint.parse(options)` call can be triggered, leading to a regular expression denial-of-service (ReDoS) attack. This causes the program to hang and results in high CPU utilization. The issue occurs in the `parse` function within the `parse.ts` file of the npm package `@octokit/endpoint`. Version 10.1.3 contains a patch for the issue.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00628 50th percentileScored 2026-11-07
Fix Partial endpoint.js (octokit): 10.1.3@octokit/endpoint (npm): 9.0.6, 10.1.3Red Hat: 9 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
octokitendpoint.js4.1.0 to before 10.1.310.1.3Patch availableCNA
—@octokit/endpoint (npm)9.0.5 to before 9.0.69.0.6Patch availableGHSA-x4c5-c7rf-jjgv
—@octokit/endpoint (npm)10.0.0 to before 10.1.310.1.3Patch availableGHSA-x4c5-c7rf-jjgv
  • endpoint.js Vendoroctokit Affected 4.1.0 to before 10.1.3 Fixed in 10.1.3 Patch available CNA
  • @octokit/endpoint (npm) Vendor— Affected 9.0.5 to before 9.0.6 Fixed in 9.0.6 Patch available GHSA-x4c5-c7rf-jjgv
  • @octokit/endpoint (npm) Vendor— Affected 10.0.0 to before 10.1.3 Fixed in 10.1.3 Patch available GHSA-x4c5-c7rf-jjgv

Remediation

  • Fix · CNA endpoint.js (octokit) Fixed in 10.1.3
  • Fix · GHSA-x4c5-c7rf-jjgv @octokit/endpoint (npm) Fixed in 9.0.6 Advisory →
  • Fix · GHSA-x4c5-c7rf-jjgv @octokit/endpoint (npm) Fixed in 10.1.3 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Multicluster Engine for KubernetesAffectedNo fix planned: Will not fix
OpenShift ServerlessAffectedNo fix yet
Red Hat Advanced Cluster Management for Kubernetes 2AffectedNo fix planned: Will not fix
Red Hat Developer Hub 1AffectedNo fix yet: Fix deferred
Red Hat Integration Camel K 1AffectedNo fix planned: Will not fix
Red Hat JBoss Enterprise Application Platform 8AffectedNo fix yet: Fix deferred
Red Hat JBoss Enterprise Application Platform Expansion PackAffectedNo fix planned: Will not fix
Red Hat OpenShift Container Platform 4AffectedNo fix planned: Will not fix
Red Hat OpenShift Dev SpacesAffectedNo fix planned: Will not fix

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-25285
  2. 2026-10-03 Alias added: GHSA-x4c5-c7rf-jjgv
  3. 2026-10-27 Affected versions changed · Red Hat
  4. 2026-10-30 EPSS moved to the 50th–90th percentile

References

  • TI-2025-18944 Regular expression denial of service in octokit request.js CVSS 3.1MEDIUM 5.3
  • TI-2025-18943 Regular expression denial of service in octokit request-error.js CVSS 3.1MEDIUM 5.3
  • TI-2025-18942 Regular expression denial of service in octokit plugin-paginate-rest.js CVSS 3.1MEDIUM 5.3
  • TI-2023-27674 Unauthenticated Denial of Service in the octokit/webhooks library CVSS 3.1HIGH 7.5
  • TI-2022-13116 Octokit gem published with world-writable files CVSS 3.1LOW 3.3
  • TI-2022-13115 Octopoller gem published with world-writable files CVSS 3.1LOW 3.3

Sources