Packages

undici

8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed

Upgrading undici From 6.21.1 to 6.29.1

13 releases in betweennotes for 12

Other targets from 6.21.1Latest8.12.4
  1. 6.21.1yours
  2. 3 releases
  3. 6.23.0security
  4. 6.24.0security
  5. 3 releases
  6. 6.27.0security
  7. 6.28.0security
  8. 6.28.1security
  9. 1 release
  10. 6.29.1target
?
changes to make
20
advisories fixed
1+
new
7+
fixes

Counted from 12 of 13 release notes. Advisories are counted from the advisory database, in full.

Security

Fixes 20 advisories affecting 6.21.1

  • CVE-2026-87018 · GHSA-qrxm-fqhp-jwvm

    6.29.1
  • CVE-2026-109383 · GHSA-2m5v-pch6-74hx

    6.29.1
  • CVE-2026-109869 · GHSA-xjj6-f33q-929c

    6.29.1
  • CVE-2026-109924 · GHSA-4qv8-2p9j-2685

    6.29.1
  • CVE-2026-109932 · GHSA-9fm3-97px-rjf6

    6.29.1
  • GHSA-rfgv-xxqx-mfg5: a WebSocket server could select a subprotocol when none was requested, causing an uncaught TypeError that could terminate the process. Undici now rejects the handshake with protocol error 1002. Fixed by 2af0faf8.

    6.28.1
  • GHSA-3wwx-pv8p-q78v: a malformed permessage-deflate payload exceeding the configured decompression limit could emit an unhandled zlib error and terminate the process. Undici now destroys the inflater after reaching the limit. Fixed by 07c60d9c.

    6.28.1
  • GHSA-r53p-7pc4-xj5r: the retry interceptor could concatenate a resumed response with inconsistent framing into downstream output, enabling response splitting or corruption. Undici now validates Content-Range against the original response framing before resuming. Fixed by ce31bc82.

    6.28.1
  • GHSA-m8rv-5g2x-5cg5: a malicious type property on a duck-typed blob-like HTTP/1.1 request body could inject CRLF sequences into the generated content-type header. Undici now coerces and validates the value before adding it to the request. Fixed by 740a0b7c.

    6.28.0
  • GHSA-8xcm-r25x-g524: the retry interceptor could expose a stale Content-Length after resuming a partial response, potentially causing downstream response desynchronization, hangs, or corruption. Undici now rejects partial responses whose Content-Length is inconsistent with Content-Range. Fixed by cba3a52a, with corrected fixtures in 4fd5a0c6.

    6.28.0

Release by release

  1. 6.29.1

    Security fix15 Oct 20261 fix
  2. 6.29.0

    25 Sep 20261 fix
    • Fixed

      retry: Settle exposed body on terminal failure

  3. 6.28.1

    Security fix4 Sep 2026
    • Security

      GHSA-rfgv-xxqx-mfg5: a WebSocket server could select a subprotocol when none was requested, causing an uncaught TypeError that could terminate the process. Undici now rejects the handshake with protocol error 1002. Fixed by 2af0faf8.

    • Security

      GHSA-3wwx-pv8p-q78v: a malformed permessage-deflate payload exceeding the configured decompression limit could emit an unhandled zlib error and terminate the process. Undici now destroys the inflater after reaching the limit. Fixed by 07c60d9c.

    • Security

      GHSA-r53p-7pc4-xj5r: the retry interceptor could concatenate a resumed response with inconsistent framing into downstream output, enabling response splitting or corruption. Undici now validates Content-Range against the original response framing before resuming. Fixed by ce31bc82.

  4. 6.28.0

    Security fix24 Jul 2026
    • Security

      GHSA-m8rv-5g2x-5cg5: a malicious type property on a duck-typed blob-like HTTP/1.1 request body could inject CRLF sequences into the generated content-type header. Undici now coerces and validates the value before adding it to the request. Fixed by 740a0b7c.

    • Security

      GHSA-8xcm-r25x-g524: the retry interceptor could expose a stale Content-Length after resuming a partial response, potentially causing downstream response desynchronization, hangs, or corruption. Undici now rejects partial responses whose Content-Length is inconsistent with Content-Range. Fixed by cba3a52a, with corrected fixtures in 4fd5a0c6.

    • Security

      GHSA-v3r7-h72x-cjcm: unsanitized domain and unparsed values passed to setCookie() could inject cookie attributes. Undici now validates cookie domains, paths, and unparsed attributes more strictly. Fixed by af748404.

    • Security

      GHSA-4cwx-7wf7-3272 and GHSA-jr45-8vmc-qm54 affect the cache interceptor in Undici v7 and v8; Undici v6 is not in their affected version ranges.

  5. 6.27.0

    Security fix15 Jun 2026
    • Security

      This release line addresses 4 security advisories.

    • Security

      of the security fixes below.

    • Security

      The v6 line is not affected by the SOCKS5 advisories (GHSA-vmh5-mc38-953g,

    • Security

      GHSA-vxpw-j846-p89q · CWE-400, CWE-770

  6. 6.26.0

    25 May 20261 fix
    • Fixed

      Validate EOF for chunked h1 responses

  7. 6.24.1 – 6.25.02 releases, nothing new or fixed; 1 without a note

  8. 6.24.0

    Security fix12 Mar 2026
    • Security

      This release backports fixes for security vulnerabilities affecting the v6 line.

    • Security

      GHSA-2mjp-6q6p-2qxm / CVE-2026-1525 (Medium) Inconsistent interpretation of HTTP requests (request/response smuggling class issue).

    • Security

      GHSA-f269-vfmq-vjvj / CVE-2026-1528 (High) Malicious WebSocket 64-bit frame length handling could crash the client.

    • Security

      GHSA-4992-7rv2-5pvq / CVE-2026-1527 (Medium) CRLF injection via the upgrade option.

5 other lines we could not sort, mostly version bumps
  • Backport upgrade diagnostics lifecycle fixes to v6.x

    6.29.0
  • feat(ProxyAgent) improve Curl-y behavior in HTTP->HTTP Proxy connections

    6.22.0
  • Backport 4472 to v6.x

    6.22.0
  • Append crlf to formdata body

    6.21.3
  • Removed clients with unrecoverable errors from the Pool #4088

    6.21.2

1 internal line (docs, tests, tooling) left out.

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.