Packages

undici

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

Upgrading undici From 6.25.0 to 6.29.1

6 releases in betweenevery note read

Other targets from 6.25.0Latest8.12.4
  1. 6.25.0yours
  2. 6.26.0
  3. 6.27.0security
  4. 6.28.0security
  5. 6.28.1security
  6. 6.29.0
  7. 6.29.1target
0
changes to make
15
advisories fixed
0
new
3
fixes

Security

Fixes 15 advisories affecting 6.25.0

  • 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

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

    6.29.0

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.