undici (npm)

Known vulnerabilities and malicious package reports for undici on npm, live from OSV, with CISA KEV exploitation status and EPSS scores.

Known package reports

0 malicious package reports and 55 vulnerabilities returned by OSV. Check a specific version to see which reports apply.

GHSA-vrm6-8vpv-qv8q: Vulnerability

Undici has Unbounded Memory Consumption in WebSocket permessage-deflate Decompression

Published .

Updated .

Affected ranges: introduced 0, fixed 6.24.0; introduced 7.0.0, fixed 7.24.0.

Fix versions reported by the advisory: 6.24.0, 7.24.0.

Severity: HIGH.

CVE-2026-1526

GHSA-v9p9-hfj2-hcw8: Vulnerability

Undici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits Validation

Published .

Updated .

Affected ranges: introduced 0, fixed 6.24.0; introduced 7.0.0, fixed 7.24.0.

Fix versions reported by the advisory: 6.24.0, 7.24.0.

Severity: HIGH.

CVE-2026-2229

GHSA-8qr4-xgw6-wmr3: Vulnerability

`undici.request` vulnerable to SSRF using absolute URL on `pathname`

Published .

Updated .

Affected ranges: introduced 0, fixed 5.8.2.

Fix versions reported by the advisory: 5.8.2.

Severity: CRITICAL.

CVE-2022-35949

GHSA-wqq4-5wpv-mx2g: Vulnerability

Undici's cookie header not cleared on cross-origin redirect in fetch

Published .

Updated .

Affected ranges: introduced 0, fixed 5.26.2.

Fix versions reported by the advisory: 5.26.2.

Severity: LOW.

CVE-2023-45143

GHSA-f772-66g8-q5h3: Vulnerability

Nodejs ‘undici’ vulnerable to CRLF Injection via Content-Type

Published .

Updated .

Affected ranges: introduced 0, fixed 5.8.2.

Fix versions reported by the advisory: 5.8.2.

Severity: MEDIUM.

CVE-2022-35948

GHSA-r6ch-mqf9-qc9w: Vulnerability

Regular Expression Denial of Service in Headers

Published .

Updated .

Affected ranges: introduced 0, fixed 5.19.1.

Fix versions reported by the advisory: 5.19.1.

Severity: HIGH.

CVE-2023-24807

GHSA-3cvr-822r-rqcc: Vulnerability

undici before v5.8.0 vulnerable to CRLF injection in request headers

Published .

Updated .

Affected ranges: introduced 0, fixed 5.8.0.

Fix versions reported by the advisory: 5.8.0.

Severity: MEDIUM.

CVE-2022-31150

GHSA-c76h-2ccp-4975: Vulnerability

Use of Insufficiently Random Values in undici

Published .

Updated .

Affected ranges: introduced 4.5.0, fixed 5.28.5; introduced 6.0.0, fixed 6.21.1; introduced 7.0.0, fixed 7.2.3.

Fix versions reported by the advisory: 5.28.5, 6.21.1, 7.2.3.

Severity: MEDIUM.

CVE-2025-22150

GHSA-5r9g-qh6m-jxff: Vulnerability

CRLF Injection in Nodejs ‘undici’ via host

Published .

Updated .

Affected ranges: introduced 2.0.0, fixed 5.19.1.

Fix versions reported by the advisory: 5.19.1.

Severity: MEDIUM.

CVE-2023-23936

GHSA-f269-vfmq-vjvj: Vulnerability

Undici: Malicious WebSocket 64-bit length overflows parser and crashes the client

Published .

Updated .

Affected ranges: introduced 6.0.0, fixed 6.24.0; introduced 7.0.0, fixed 7.24.0.

Fix versions reported by the advisory: 6.24.0, 7.24.0.

Severity: HIGH.

CVE-2026-1528

GHSA-9f24-jqhm-jfcw: Vulnerability

fetch(url) leads to a memory leak in undici

Published .

Updated .

Affected ranges: introduced 6.0.0, fixed 6.6.1.

Fix versions reported by the advisory: 6.6.1.

Severity: MEDIUM.

CVE-2024-24750

GHSA-3787-6prv-h9w3: Vulnerability

Undici proxy-authorization header not cleared on cross-origin redirect in fetch

Published .

Updated .

Affected ranges: introduced 0, fixed 5.28.3; introduced 6.0.0, fixed 6.6.1.

Fix versions reported by the advisory: 5.28.3, 6.6.1.

Severity: MEDIUM.

CVE-2024-24758

GHSA-9qxr-qj54-h672: Vulnerability

Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect

Published .

Updated .

Affected ranges: introduced 0, fixed 5.28.4; introduced 6.0.0, fixed 6.11.1.

Fix versions reported by the advisory: 5.28.4, 6.11.1.

Severity: LOW.

CVE-2024-30261

GHSA-vxpw-j846-p89q: Vulnerability

undici WebSocket client vulnerable to denial of service via fragment count bypass

Published .

Updated .

Affected ranges: introduced 0, fixed 6.27.0; introduced 7.0.0, fixed 7.28.0; introduced 8.0.0, fixed 8.5.0.

Fix versions reported by the advisory: 6.27.0, 7.28.0, 8.5.0.

Severity: HIGH.

CVE-2026-12151

GHSA-2mjp-6q6p-2qxm: Vulnerability

Undici has an HTTP Request/Response Smuggling issue

Published .

Updated .

Affected ranges: introduced 0, fixed 6.24.0; introduced 7.0.0, fixed 7.24.0.

Fix versions reported by the advisory: 6.24.0, 7.24.0.

Severity: CRITICAL.

CVE-2026-1525

GHSA-m4v8-wqvr-p9f7: Vulnerability

Undici's Proxy-Authorization header not cleared on cross-origin redirect for dispatch, request, stream, pipeline

Published .

Updated .

Affected ranges: introduced 0, fixed 5.28.4; introduced 6.0.0, fixed 6.11.1.

Fix versions reported by the advisory: 5.28.4, 6.11.1.

Severity: MEDIUM.

CVE-2024-30260

GHSA-phc3-fgpg-7m6h: Vulnerability

Undici has Unbounded Memory Consumption in its DeduplicationHandler via Response Buffering that leads to DoS

Published .

Updated .

Affected ranges: introduced 7.17.0, fixed 7.24.0.

Fix versions reported by the advisory: 7.24.0.

Severity: MEDIUM.

CVE-2026-2581

GHSA-3g92-w8c5-73pq: Vulnerability

Undici vulnerable to data leak when using response.arrayBuffer()

Published .

Updated .

Affected ranges: introduced 6.14.0, fixed 6.19.2.

Fix versions reported by the advisory: 6.19.2.

Severity: LOW.

CVE-2024-38372

GHSA-q768-x9m6-m9qp: Vulnerability

undici before v5.8.0 vulnerable to uncleared cookies on cross-host / cross-origin redirect

Published .

Updated .

Affected ranges: introduced 0, fixed 5.8.0.

Fix versions reported by the advisory: 5.8.0.

Severity: MEDIUM.

CVE-2022-31151

GHSA-rfgv-xxqx-mfg5: Vulnerability

undici vulnerable to Denial of Service via unrequested WebSocket subprotocol

Published .

Updated .

Affected ranges: introduced 6.7.0, fixed 6.28.1; introduced 7.0.0, fixed 7.29.1; introduced 8.0.0, fixed 8.10.2.

Fix versions reported by the advisory: 6.28.1, 7.29.1, 8.10.2.

Severity: HIGH.

CVE-2026-19534

GHSA-4cwx-7wf7-3272: Vulnerability

undici vulnerable to cross-user information disclosure and parse-time crash via degenerate private cache directives

Published .

Updated .

Affected ranges: introduced 7.0.0, fixed 7.29.0; introduced 8.0.0, fixed 8.9.0.

Fix versions reported by the advisory: 7.29.0, 8.9.0.

Severity: CRITICAL.

CVE-2026-13697

GHSA-g9mf-h72j-4rw9: Vulnerability

Undici has an unbounded decompression chain in HTTP responses on Node.js Fetch API via Content-Encoding leads to resource exhaustion

Published .

Updated .

Affected ranges: introduced 7.0.0, fixed 7.18.2; introduced 0, fixed 6.23.0.

Fix versions reported by the advisory: 7.18.2, 6.23.0.

Severity: HIGH.

CVE-2026-22036

GHSA-vmh5-mc38-953g: Vulnerability

undici vulnerable to TLS certificate validation bypass via dropped requestTls in SOCKS5 ProxyAgent

Published .

Updated .

Affected ranges: introduced 7.23.0, fixed 7.28.0; introduced 8.0.0, fixed 8.5.0.

Fix versions reported by the advisory: 7.28.0, 8.5.0.

Severity: HIGH.

CVE-2026-9697

GHSA-rx4f-c7p8-82vq: Vulnerability

undici vulnerable to Denial of Service via WebSocketStream unclean close

Published .

Updated .

Affected ranges: introduced 7.0.0, fixed 7.29.1; introduced 8.0.0, fixed 8.10.2.

Fix versions reported by the advisory: 7.29.1, 8.10.2.

Severity: HIGH.

CVE-2026-85014

GHSA-qq8j-7v2v-3rwp: Vulnerability

undici WebSocket client vulnerable to Denial of Service via failed HTTP/2 handshake

Published .

Updated .

Affected ranges: introduced 8.11.0, fixed 8.11.2.

Fix versions reported by the advisory: 8.11.2.

Severity: HIGH.

CVE-2026-109855

More reports are available in the interactive package view.

Source: OSV, including OpenSSF malicious-package reports and GitHub advisories. No known report is not proof a package is safe.