npmWorst: High55 advisories

undici: known vulnerabilities

undici has 55 reviewed security advisories in the GitHub Advisory Database — 18 high, 25 moderate, 12 low. The most recent was published 2026-10-15. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the undici versions running across your servers, containers and images, and ranks what to patch first.

How to fix undici

Upgrade undici to a release at or above the fixed version shown for each advisory below. For npm:

npm install undici@8.12.2 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (55)

undici vulnerable to TLS certificate validation bypass via dropped tls options in Agent High 7.4 CWE-295 — Affected: from 8.0.0 up to 8.12.2. Fixed in 8.12.2. Published 2026-10-15. GHSA-2m5v-pch6-74hx · CVE-2026-109383
undici vulnerable to Denial of Service via unbounded memory in the EventSource parser Moderate 5.9 CWE-770 — Affected: from 8.0.0 up to 8.12.2. Fixed in 8.12.2. Published 2026-10-15. GHSA-4qv8-2p9j-2685 · CVE-2026-109924
undici vulnerable to cache poisoning and cross-user disclosure via cross-origin redirects High 7.4 CWE-346 CWE-524 — Affected: from 8.0.0 up to 8.12.2. Fixed in 8.12.2. Published 2026-10-15. GHSA-4w7w-5xrc-9h26 · CVE-2026-109829
undici vulnerable to Denial of Service via unhandled exception in the decompress interceptor Moderate 5.9 CWE-248 — Affected: from 8.0.0 up to 8.12.2. Fixed in 8.12.2. Published 2026-10-15. GHSA-55wc-3pg8-jfw6 · CVE-2026-87029
undici WebSocket client vulnerable to Denial of Service via unbounded automatic PONG buffering Moderate 5.9 CWE-400 CWE-405 CWE-770 — Affected: from 8.0.0 up to 8.12.2. Fixed in 8.12.2. Published 2026-10-15. GHSA-9fm3-97px-rjf6 · CVE-2026-109932
undici vulnerable to Subresource Integrity bypass via non-lowercase algorithm tokens Moderate 5.9 CWE-178 — Affected: from 8.0.0 up to 8.12.2. Fixed in 8.12.2. Published 2026-10-15. GHSA-f72v-6w45-q472 · CVE-2026-109841
undici WebSocket client vulnerable to Denial of Service via failed HTTP/2 handshake High 7.5 CWE-248 CWE-754 — Affected: from 8.11.0 up to 8.11.2. Fixed in 8.11.2. Published 2026-10-15. GHSA-qq8j-7v2v-3rwp · CVE-2026-109855
undici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiation High 7.5 CWE-248 CWE-617 — Affected: from 8.0.0 up to 8.12.2. Fixed in 8.12.2. Published 2026-10-15. GHSA-qrxm-fqhp-jwvm · CVE-2026-87018
undici vulnerable to Denial of Service via unhandled error on excessive content-encodings High 7.5 CWE-248 CWE-459 — Affected: from 8.0.0 up to 8.12.2. Fixed in 8.12.2. Published 2026-10-15. GHSA-xjj6-f33q-929c · CVE-2026-109869
undici vulnerable to response truncation via oversized chunked responses in the dump interceptor Low 3.7 CWE-20 CWE-248 — Affected: from 8.0.0 up to 8.10.2. Fixed in 8.10.2. Published 2026-09-04. GHSA-2gqq-gqf2-x968 · CVE-2026-84947
undici vulnerable to cross-user cookie disclosure via Set-Cookie caching in shared caches Moderate 6.5 CWE-200 CWE-524 — Affected: from 8.0.0 up to 8.10.2. Fixed in 8.10.2. Published 2026-09-04. GHSA-2jfj-6hjv-fm6j · CVE-2026-84933
undici vulnerable to Denial of Service via unhandled error in WebSocket permessage-deflate decompression Moderate 5.9 CWE-248 — Affected: from 8.1.0 up to 8.10.2. Fixed in 8.10.2. Published 2026-09-04. GHSA-3wwx-pv8p-q78v · CVE-2026-85024
undici vulnerable to Denial of Service via unbounded decompression of compressed responses Moderate 5.9 CWE-770 — Affected: from 8.0.0 up to 8.10.2. Fixed in 8.10.2. Published 2026-09-04. GHSA-3xpg-4rpp-hhhm · CVE-2026-84890
undici vulnerable to caching and replay of unsafe HTTP method responses Low 3.7 CWE-345 — Affected: from 8.0.0 up to 8.10.2. Fixed in 8.10.2. Published 2026-09-04. GHSA-8436-99hf-9mmv · CVE-2026-85008
undici vulnerable to Denial of Service via orphaned RetryHandler response body Moderate 5.9 CWE-772 — Affected: from 8.0.0 up to 8.10.2. Fixed in 8.10.2. Published 2026-09-04. GHSA-pmjh-fq2x-6v4x · CVE-2026-18149
undici vulnerable to downstream response splitting via retry interceptor Low 3.7 CWE-444 — Affected: from 8.0.0 up to 8.10.2. Fixed in 8.10.2. Published 2026-09-04. GHSA-r53p-7pc4-xj5r · CVE-2026-18540
undici vulnerable to Denial of Service via unrequested WebSocket subprotocol High 7.5 CWE-248 CWE-252 — Affected: from 8.0.0 up to 8.10.2. Fixed in 8.10.2. Published 2026-09-04. GHSA-rfgv-xxqx-mfg5 · CVE-2026-19534
undici vulnerable to Denial of Service via WebSocketStream unclean close Moderate 5.9 CWE-248 CWE-754 — Affected: from 8.0.0 up to 8.10.2. Fixed in 8.10.2. Published 2026-09-04. GHSA-rx4f-c7p8-82vq · CVE-2026-85014
undici vulnerable to cross-origin cache poisoning via missing origin isolation in interceptors High 7.4 CWE-346 — Affected: from 8.10.0 up to 8.10.2. Fixed in 8.10.2. Published 2026-09-04. GHSA-vp8m-p9jh-q5pm · CVE-2026-85152
undici vulnerable to TLS certificate validation bypass via dropped connect options in BalancedPool High 7.4 CWE-295 — Affected: from 8.0.0 up to 8.10.2. Fixed in 8.10.2. Published 2026-09-04. GHSA-w293-vg96-wgc3 · CVE-2026-84961
undici vulnerable to cross-user information disclosure and parse-time crash via degenerate private cache directives High 7.4 CWE-200 CWE-248 CWE-525 — Affected: from 8.0.0 up to 8.9.0. Fixed in 8.9.0. Published 2026-07-29. GHSA-4cwx-7wf7-3272 · CVE-2026-13697
undici vulnerable to downstream response desynchronization via retry interceptor Moderate 4.8 CWE-444 — Affected: from 8.0.0 up to 8.9.0. Fixed in 8.9.0. Published 2026-07-29. GHSA-8xcm-r25x-g524 · CVE-2026-16728
undici vulnerable to cross-user information disclosure via whitespace around equals in Cache-Control directives Moderate 5.9 CWE-436 CWE-524 — Affected: from 8.0.0 up to 8.9.0. Fixed in 8.9.0. Published 2026-07-29. GHSA-jr45-8vmc-qm54 · CVE-2026-14643
undici vulnerable to CRLF Injection via blob-like body 'type' property Moderate 4.2 CWE-93 — Affected: from 8.0.0 up to 8.9.0. Fixed in 8.9.0. Published 2026-07-29. GHSA-m8rv-5g2x-5cg5 · CVE-2026-15157
undici vulnerable to cookie attribute injection via unsanitized domain and unparsed setCookie fields Moderate 4.8 CWE-74 — Affected: from 8.0.0 up to 8.9.0. Fixed in 8.9.0. Published 2026-07-29. GHSA-v3r7-h72x-cjcm · CVE-2026-16729
undici vulnerable to HTTP response queue poisoning via keep-alive socket reuse Low 3.7 CWE-367 — Affected: from 8.0.0 up to 8.5.0. Fixed in 8.5.0. Published 2026-06-17. GHSA-35p6-xmwp-9g52 · CVE-2026-6733
undici WebSocket client vulnerable to denial of service via cumulative fragment bypass High 7.5 CWE-400 CWE-770 — Affected: from 8.0.0 up to 8.5.0. Fixed in 8.5.0. Published 2026-06-17. GHSA-38rv-x7px-6hhq · CVE-2026-9675
undici vulnerable to Set-Cookie SameSite attribute downgrade via permissive substring matching Low 3.7 CWE-183 — Affected: from 8.0.0 up to 8.5.0. Fixed in 8.5.0. Published 2026-06-17. GHSA-g8m3-5g58-fq7m · CVE-2026-11525
undici vulnerable to cross-origin request routing via SOCKS5 proxy pool reuse High 7.5 CWE-346 — Affected: from 8.0.0 up to 8.2.0. Fixed in 8.2.0. Published 2026-06-17. GHSA-hm92-r4w5-c3mj · CVE-2026-6734
undici vulnerable to HTTP header injection via Set-Cookie percent-decoding Moderate 5.9 CWE-93 — Affected: from 8.0.0 up to 8.5.0. Fixed in 8.5.0. Published 2026-06-17. GHSA-p88m-4jfj-68fv · CVE-2026-9679
undici vulnerable to cross-user information disclosure via shared cache whitespace bypass Moderate 5.9 CWE-524 — Affected: from 8.0.0 up to 8.5.0. Fixed in 8.5.0. Published 2026-06-17. GHSA-pr7r-676h-xcf6 · CVE-2026-9678
undici vulnerable to TLS certificate validation bypass via dropped requestTls in SOCKS5 ProxyAgent High 7.4 CWE-295 — Affected: from 8.0.0 up to 8.5.0. Fixed in 8.5.0. Published 2026-06-17. GHSA-vmh5-mc38-953g · CVE-2026-9697
undici WebSocket client vulnerable to denial of service via fragment count bypass High 7.5 CWE-400 CWE-770 — Affected: from 8.0.0 up to 8.5.0. Fixed in 8.5.0. Published 2026-06-17. GHSA-vxpw-j846-p89q · CVE-2026-12151
Undici has an HTTP Request/Response Smuggling issue Moderate 6.5 CWE-444 — Affected: from 7.0.0 up to 7.24.0. Fixed in 7.24.0. Published 2026-03-12. GHSA-2mjp-6q6p-2qxm · CVE-2026-1525
Undici has CRLF Injection in undici via `upgrade` option Moderate 4.6 CWE-93 — Affected: from 7.0.0 up to 7.24.0. Fixed in 7.24.0. Published 2026-03-12. GHSA-4992-7rv2-5pvq · CVE-2026-1527
Undici: Malicious WebSocket 64-bit length overflows parser and crashes the client High 7.5 CWE-1284 CWE-248 — Affected: from 7.0.0 up to 7.24.0. Fixed in 7.24.0. Published 2026-03-12. GHSA-f269-vfmq-vjvj · CVE-2026-1528
Undici has Unbounded Memory Consumption in its DeduplicationHandler via Response Buffering that leads to DoS Moderate 5.9 CWE-770 — Affected: from 7.17.0 up to 7.24.0. Fixed in 7.24.0. Published 2026-03-12. GHSA-phc3-fgpg-7m6h · CVE-2026-2581
Undici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits Validation High 7.5 CWE-248 — Affected: from 7.0.0 up to 7.24.0. Fixed in 7.24.0. Published 2026-03-12. GHSA-v9p9-hfj2-hcw8 · CVE-2026-2229
Undici has Unbounded Memory Consumption in WebSocket permessage-deflate Decompression High 7.5 CWE-409 — Affected: from 7.0.0 up to 7.24.0. Fixed in 7.24.0. Published 2026-03-12. GHSA-vrm6-8vpv-qv8q · CVE-2026-1526
Undici has an unbounded decompression chain in HTTP responses on Node.js Fetch API via Content-Encoding leads to resource exhaustion Moderate 5.9 CWE-770 — Affected: before 6.23.0. Fixed in 6.23.0. Published 2026-01-14. GHSA-g9mf-h72j-4rw9 · CVE-2026-22036
undici Denial of Service attack via bad certificate data Low 3.1 CWE-401 — Affected: from 7.0.0 up to 7.5.0. Fixed in 7.5.0. Published 2025-05-15. GHSA-cxrh-j4jr-qwg3 · CVE-2025-47279
Use of Insufficiently Random Values in undici Moderate 6.8 CWE-330 — Affected: from 7.0.0 up to 7.2.3. Fixed in 7.2.3. Published 2025-01-21. GHSA-c76h-2ccp-4975 · CVE-2025-22150
Undici vulnerable to data leak when using response.arrayBuffer() Low 2.0 CWE-201 — Affected: from 6.14.0 up to 6.19.2. Fixed in 6.19.2. Published 2024-07-08. GHSA-3g92-w8c5-73pq · CVE-2024-38372
Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect Low 2.6 CWE-284 — Affected: from 6.0.0 up to 6.11.1. Fixed in 6.11.1. Published 2024-04-04. GHSA-9qxr-qj54-h672 · CVE-2024-30261
Undici's Proxy-Authorization header not cleared on cross-origin redirect for dispatch, request, stream, pipeline Low 3.9 CWE-200 CWE-285 CWE-863 — Affected: from 6.0.0 up to 6.11.1. Fixed in 6.11.1. Published 2024-04-04. GHSA-m4v8-wqvr-p9f7 · CVE-2024-30260
Undici proxy-authorization header not cleared on cross-origin redirect in fetch Low 3.9 CWE-200 — Affected: from 6.0.0 up to 6.6.1. Fixed in 6.6.1. Published 2024-02-16. GHSA-3787-6prv-h9w3 · CVE-2024-24758
fetch(url) leads to a memory leak in undici Moderate 6.5 CWE-400 CWE-401 — Affected: from 6.0.0 up to 6.6.1. Fixed in 6.6.1. Published 2024-02-16. GHSA-9f24-jqhm-jfcw · CVE-2024-24750
Undici's cookie header not cleared on cross-origin redirect in fetch Low 3.9 CWE-200 — Affected: before 5.26.2. Fixed in 5.26.2. Published 2023-10-12. GHSA-wqq4-5wpv-mx2g · CVE-2023-45143
CRLF Injection in Nodejs ‘undici’ via host Moderate 4.6 CWE-74 CWE-93 — Affected: from 2.0.0 up to 5.19.1. Fixed in 5.19.1. Published 2023-02-16. GHSA-5r9g-qh6m-jxff · CVE-2023-23936
Regular Expression Denial of Service in Headers High 7.5 CWE-1333 — Affected: before 5.19.1. Fixed in 5.19.1. Published 2023-02-16. GHSA-r6ch-mqf9-qc9w · CVE-2023-24807
Nodejs ‘undici’ vulnerable to CRLF Injection via Content-Type Moderate 5.3 CWE-74 CWE-93 — Affected: before 5.8.2. Fixed in 5.8.2. Published 2022-08-15. GHSA-f772-66g8-q5h3 · CVE-2022-35948
`undici.request` vulnerable to SSRF using absolute URL on `pathname` Moderate 5.3 CWE-918 — Affected: before 5.8.2. Fixed in 5.8.2. Published 2022-08-12. GHSA-8qr4-xgw6-wmr3 · CVE-2022-35949
undici before v5.8.0 vulnerable to uncleared cookies on cross-host / cross-origin redirect Low 3.7 CWE-346 CWE-601 CWE-93 — Affected: before 5.8.0. Fixed in 5.8.0. Published 2022-07-21. GHSA-q768-x9m6-m9qp · CVE-2022-31151
undici before v5.8.0 vulnerable to CRLF injection in request headers Moderate 5.3 CWE-93 — Affected: before 5.8.0. Fixed in 5.8.0. Published 2022-07-19. GHSA-3cvr-822r-rqcc · CVE-2022-31150

Find undici across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.