CVE-2025-47279nodejs undici
Low 3.1
Follow: this CVE · nodejs · nodejs undici We alert you by email or Slack (account required).
- Priority
- 19
- CVSS 3.1
- 3.1
- EPSS
- —
- Auth required
- Yes
- Published
- May 15, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-401
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
What happens
Undici is an HTTP/1.1 client for Node.js. Prior to versions 5.29.0, 6.21.2, and 7.5.0, applications that use undici to implement a webhook-like system are vulnerable. If the attacker set up a server with an invalid certificate, and they can force the application to call the webhook repeatedly, then they can cause a memory leak. This has been patched in versions 5.29.0, 6.21.2, and 7.5.0. As a workaound, avoid calling a webhook repeatedly if the webhook fails.
What to do
- Apply the vendor's security update for undici.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | undici |
< 5.29.0 |
5.29.0 |
npm install undici@5.29.0 |
| npm | undici |
≥ 6.0.0 < 6.21.2 |
6.21.2 |
npm install undici@6.21.2 |
| npm | undici |
≥ 7.0.0 < 7.5.0 |
7.5.0 |
npm install undici@7.5.0 |
Per OSV / GitHub Advisories (GHSA-cxrh-j4jr-qwg3). Check the version in your lockfile before upgrading.
Affected products
- nodejs · undici
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.