Skip to content

fix(deps): update dependency undici to v8 - #499

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/undici-8.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/undici-8.x

Conversation

@renovate

@renovate renovate Bot commented Apr 2, 2026 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
undici (source) 6.29.1 → 8.13.1 age confidence

Release Notes

nodejs/undici (undici)

v8.13.1

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v8.13.0...v8.13.1

v8.13.0

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v8.12.4...v8.13.0

v8.12.4

Compare Source

⚠️ Security Fixes

This release fixes six vulnerabilities.

CVE-2026-116592 / GHSA-mqg3-3v4r-cm32 (high)

Undici 8.12.2 and 8.12.3 could cache the final response from a redirect chain under the original request key without applying the origin, cache policy, freshness, or Vary requirements of every intermediate hop. This could poison a cache or expose one user's response to another user. The fix validates every redirect hop, combines their Vary fields, limits freshness and stale serving to the most restrictive hop, and invalidates persistent SQLite entries written by vulnerable releases.

CVE-2026-120474 / GHSA-7xg3-fphp-28hg (medium)

A shared cache used with compose(redirect(), cache()) could store a credential-dependent response from a same-origin redirect under the original URL. A later authenticated or unauthenticated request could then receive another user's response. Redirected requests carrying Authorization, Cookie, or Proxy-Authorization are no longer stored under the original alias key.

CVE-2026-116630 / GHSA-5rm8-gv32-r954 (medium)

A cross-origin redirect during cache revalidation could let a 304 Not Modified response from the redirect target validate a cached response from the original origin. Undici now checks that the revalidation target matches the cached URL and that any returned validator matches the stored representation before replaying the cached body.

CVE-2026-120415 / GHSA-9v6h-8rgp-m69f (medium)

The redirect interceptor did not strip credentials correctly when request headers were supplied as an array of [name, value] pairs. With a header-normalizing interceptor outside redirect(), credentials could be sent to a cross-origin redirect target. Undici now handles both tuple arrays and flat header arrays when removing sensitive headers.

CVE-2026-120222 / GHSA-3g9m-rv3r-w5w2 (medium)

A downstream handler exception during cache replay could escape as an uncaught exception or unhandled promise rejection and terminate the process. This included dump size-limit failures, excessive Content-Encoding values in decompress, asynchronous cache-store failures, and cached-body replay after a 304. These failures are now reported as request errors.

CVE-2026-120423 / GHSA-r4pc-4jcp-7pqc (medium)

fetch() could skip Subresource Integrity verification when valid integrity metadata was separated or surrounded by ASCII whitespace other than a space, including a horizontal tab. Integrity metadata is now split on all ASCII whitespace before SHA-256, SHA-384, or SHA-512 verification.

What's Changed

New Contributors

Full Changelog: nodejs/undici@v8.12.3...v8.12.4

v8.12.3

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v8.12.2...v8.12.3

v8.12.2

Compare Source

Security fixes

High severity
Denial of service via TLS 1.2 certificate-changing renegotiation

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

A malicious or compromised HTTPS server could crash the Node.js process by initiating TLS 1.2 renegotiation and presenting a different, CA-trusted certificate whose hostname did not match the requested host. The resulting socket error reached an assertion in undici's HTTP/1.1 and HTTP/2 connection handling. This release handles post-connect certificate errors without terminating the process.

TLS certificate validation bypass through dropped Agent options

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

Agent used a JSON-based clone for constructor options, which silently removed function-valued TLS options such as checkServerIdentity. Applications relying on custom certificate or public-key verification could therefore accept a certificate that the callback was intended to reject. This release preserves TLS options when creating per-origin dispatchers.

Cache poisoning and cross-user disclosure through cross-origin redirects

CVE-2026-109829 · GHSA-4w7w-5xrc-9h26

When an originless Agent combined redirect and shared-cache interceptors as compose(redirect(), cache()), a response from a cross-origin redirect could be stored under the original URL. This could allow persistent cache poisoning or disclosure of user-specific responses to later callers. This release verifies the response origin before caching and preserves redirect-hop cache-control policy.

Denial of service through excessive Content-Encoding values

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

A malicious HTTP server could crash the Node.js process by returning more than five content codings and closing the connection before sending the body. Although fetch() rejected the response, an error from an orphaned internal stream could remain unhandled. This release validates the content-encoding chain before creating the body stream and aborts oversized chains safely.

Medium severity
Denial of service through the decompress interceptor

CVE-2026-87029 · GHSA-55wc-3pg8-jfw6

An exception thrown by a downstream response handler from an asynchronous decompression callback could escape as an uncaught exception. A server could trigger this when decompress was composed with a handler such as dump with a size limit. This release converts downstream handler exceptions into per-request errors.

Subresource Integrity bypass with non-lowercase algorithm tokens

CVE-2026-109841 · GHSA-f72v-6w45-q472

fetch() treated valid mixed-case or uppercase SRI algorithm tokens, such as SHA256, as unknown and could accept a response whose body did not match the configured digest. This release normalizes algorithm tokens before validation and digest selection.

Denial of service through unbounded EventSource parser state

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

A malicious Server-Sent Events endpoint could exhaust process memory by sending many tiny data: fields without completing an event, or by splitting an unfinished line across many chunks. This release bounds retained EventSource parser state, including field counts, buffered chunks, unfinished-line length, and retained field data.

Denial of service through unbounded automatic WebSocket PONG buffering

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

A malicious WebSocket server could exhaust process memory by flooding the client with PING frames while not reading the automatic PONG responses. undici previously ignored socket backpressure and allowed the outbound queue to grow without bound. This release pauses frame parsing when PONG writes encounter backpressure and resumes after the socket drains.

Full Changelog: nodejs/undici@v8.12.1...v8.12.2

v8.12.1

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v8.12.0...v8.12.1

v8.12.0

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v8.11.2...v8.12.0

v8.11.2

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v8.11.1...v8.11.2

v8.11.1

Compare Source

What's Changed

Full Changelog: nodejs/undici@v8.11.0...v8.11.1

v8.11.0

Compare Source

What's Changed

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/undici-8.x branch 3 times, most recently from c5ef990 to 7472ac5 Compare April 8, 2026 21:07
@renovate
renovate Bot force-pushed the renovate/undici-8.x branch 3 times, most recently from 96c4d03 to 8be9eff Compare April 15, 2026 15:04
@renovate
renovate Bot force-pushed the renovate/undici-8.x branch 2 times, most recently from e151633 to c6a4c54 Compare May 1, 2026 21:53
@renovate
renovate Bot force-pushed the renovate/undici-8.x branch from c6a4c54 to a3793fc Compare May 14, 2026 18:07
@renovate
renovate Bot force-pushed the renovate/undici-8.x branch 2 times, most recently from 6492ca2 to b101d76 Compare May 30, 2026 20:05
@renovate
renovate Bot force-pushed the renovate/undici-8.x branch 2 times, most recently from b2de2db to d04d3a8 Compare June 8, 2026 15:47
@renovate
renovate Bot force-pushed the renovate/undici-8.x branch 2 times, most recently from e5d376c to 3dd67eb Compare June 16, 2026 04:08
@renovate
renovate Bot force-pushed the renovate/undici-8.x branch 2 times, most recently from a84ccaa to 9e94fc6 Compare July 4, 2026 12:59
@renovate
renovate Bot force-pushed the renovate/undici-8.x branch 3 times, most recently from 5e0f2b2 to a31da50 Compare July 24, 2026 21:59
@renovate
renovate Bot force-pushed the renovate/undici-8.x branch 2 times, most recently from 3fc8939 to 16184bb Compare August 3, 2026 16:35
@renovate
renovate Bot force-pushed the renovate/undici-8.x branch 4 times, most recently from d11c43d to c6d65fa Compare September 4, 2026 17:59
@renovate
renovate Bot force-pushed the renovate/undici-8.x branch from c6d65fa to 624445f Compare September 7, 2026 23:26
@renovate
renovate Bot force-pushed the renovate/undici-8.x branch 3 times, most recently from 099d397 to 8c941ca Compare September 25, 2026 21:54
@renovate
renovate Bot force-pushed the renovate/undici-8.x branch 2 times, most recently from 37a704e to 3cd5e56 Compare October 5, 2026 17:57
@renovate
renovate Bot force-pushed the renovate/undici-8.x branch 4 times, most recently from 73eb8d7 to 3219ba5 Compare October 20, 2026 11:02
@renovate
renovate Bot force-pushed the renovate/undici-8.x branch from 3219ba5 to 9caedb6 Compare November 5, 2026 10:03
@renovate
renovate Bot force-pushed the renovate/undici-8.x branch from 9caedb6 to 60ad869 Compare November 20, 2026 12:58
@renovate
renovate Bot force-pushed the renovate/undici-8.x branch from 60ad869 to 5308ed4 Compare November 20, 2026 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants