---
id: CVE-2022-2596
title: >-
  Inefficient Regular Expression Complexity in GitHub repository
  node-fetch/node-fetch prior to 3.2.10.
summary: >-
  Inefficient Regular Expression Complexity in GitHub repository
  node-fetch/node-fetch prior to 3.2.10.
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-1333
vendor: node-fetch_project
product: node-fetch
affected:
  - 'node-fetch >= 3.0.0, < 3.2.10'
patched:
  - node-fetch 3.2.10
published: '2022-08-01'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T19:17:30.317'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-2596'
references:
  - url: >-
      https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3d
    label: security@huntr.dev
  - url: 'https://huntr.dev/bounties/a7e6a136-0a4b-46c4-ad20-802f1dd60bf7'
    label: security@huntr.dev
  - url: >-
      https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3d
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://huntr.dev/bounties/a7e6a136-0a4b-46c4-ad20-802f1dd60bf7'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-07T18:54:21.646793Z'
epss: 0.01298
epssPercentile: 0.69464
ingestedAt: '2026-10-07T19:44:15.646Z'
---

## Overview

Inefficient Regular Expression Complexity in GitHub repository node-fetch/node-fetch prior to 3.2.10.

## Affected

- `node-fetch >= 3.0.0, < 3.2.10`

## Remediation

Upgrade past the affected range:

- `node-fetch 3.2.10`
