undici
8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed
8.13.1 is the newest release of 8.x.
In short
2 faster17 fixed15 internal
Security
19 advisories affect 8.10.1; 8.12.2 fixes them
- Highundici vulnerable to cache poisoning and cross-user disclosure via cross-origin redirectsGHSA-4w7w-5xrc-9h26 · 27 Oct 2026Fixed in 8.12.2
- Highundici vulnerable to TLS certificate validation bypass via dropped tls options in AgentGHSA-2m5v-pch6-74hx · 27 Oct 2026Fixed in 8.12.2
- Highundici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiationGHSA-qrxm-fqhp-jwvm · 27 Oct 2026Fixed in 8.12.2
- Highundici vulnerable to Denial of Service via unhandled error on excessive content-encodingsGHSA-xjj6-f33q-929c · 23 Oct 2026Fixed in 8.12.2
- Highundici vulnerable to Denial of Service via unrequested WebSocket subprotocolGHSA-rfgv-xxqx-mfg5 · 29 Sep 2026Fixed in 8.10.2
14 more
- Highundici vulnerable to TLS certificate validation bypass via dropped connect options in BalancedPoolGHSA-w293-vg96-wgc3 · 29 Sep 2026Fixed in 8.10.2
- Highundici vulnerable to cross-origin cache poisoning via missing origin isolation in interceptorsGHSA-vp8m-p9jh-q5pm · 29 Sep 2026Fixed in 8.10.2
- Moderateundici WebSocket client vulnerable to Denial of Service via unbounded automatic PONG bufferingGHSA-9fm3-97px-rjf6 · 27 Oct 2026Fixed in 8.12.2
- Moderateundici vulnerable to Denial of Service via unhandled exception in the decompress interceptorGHSA-55wc-3pg8-jfw6 · 27 Oct 2026Fixed in 8.12.2
- Moderateundici vulnerable to Denial of Service via unbounded memory in the EventSource parserGHSA-4qv8-2p9j-2685 · 23 Oct 2026Fixed in 8.12.2
- Moderateundici vulnerable to Subresource Integrity bypass via non-lowercase algorithm tokensGHSA-f72v-6w45-q472 · 23 Oct 2026Fixed in 8.12.2
- Moderateundici vulnerable to Denial of Service via orphaned RetryHandler response bodyGHSA-pmjh-fq2x-6v4x · 29 Sep 2026Fixed in 8.10.2
- Moderateundici vulnerable to Denial of Service via unbounded decompression of compressed responsesGHSA-3xpg-4rpp-hhhm · 29 Sep 2026Fixed in 8.10.2
- Moderateundici vulnerable to cross-user cookie disclosure via Set-Cookie caching in shared cachesGHSA-2jfj-6hjv-fm6j · 29 Sep 2026Fixed in 8.10.2
- Moderateundici vulnerable to Denial of Service via WebSocketStream unclean closeGHSA-rx4f-c7p8-82vq · 29 Sep 2026Fixed in 8.10.2
- Moderateundici vulnerable to Denial of Service via unhandled error in WebSocket permessage-deflate decompressionGHSA-3wwx-pv8p-q78v · 28 Sep 2026Fixed in 8.10.2
- Lowundici vulnerable to downstream response splitting via retry interceptorGHSA-r53p-7pc4-xj5r · 29 Sep 2026Fixed in 8.10.2
- Lowundici vulnerable to response truncation via oversized chunked responses in the dump interceptorGHSA-2gqq-gqf2-x968 · 29 Sep 2026Fixed in 8.10.2
- Lowundici vulnerable to caching and replay of unsafe HTTP method responsesGHSA-8436-99hf-9mmv · 29 Sep 2026Fixed in 8.10.2
Release note
What's Changed
mock: re-invoke reply callback for persistent mocks
Preserve MockAgent interceptors for legacy global fetch
Propagate dispatcher origin to composed interceptors
Limit EventSource event size
retry: Honor the retryAfter option in the default retry strategy
interceptor/dump: Reject aborted requests when response is smaller than maxSize
retry: Honor the abort signal during the retry backoff
deduplicate: Settle the deduplicated request when it is aborted
Accept a negative Set-Cookie Max-Age attribute
h2: Honour maxResponseSize
Forward onBodySent/onRequestSent through interceptor handlers
h1: Drop idle-socket timer floor with a ref'd setImmediate
fetch: Skip empty RequestInit work
Propagate dispatcher options to base class
env-http-proxy-agent: Ignore trailing dots when matching no_proxy
socks5-proxy-agent: Destroy socket when negotiation times out
cache: Evict entries when a key holds a single entry
h2: Forward 1xx informational responses to onInfo
agent: Preserve pools with pending GOAWAY replays
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.