Repository navigation
chore(deps): update dependency undici to v8.14.1 - #74
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/undici-8.x
branch
from
December 4, 2026 12:58
fd7e07f to
fce66f4
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
8.13.1→8.14.1Release Notes
nodejs/undici (undici)
v8.14.1Compare Source
This release fixes thirteen vulnerabilities.
CVE-2026-141996 / GHSA-fgj4-8x8v-fqhm (high)
The redirect interceptor kept the TLS
servernameof the first request when it followed a cross-origin redirect, so the redirect target's certificate was verified against the original host's name instead of its own. A party holding a valid certificate for the original host and able to intercept traffic to the redirect target could impersonate the target. This affectsinterceptors.redirect()when the request carries aservername, either passed as a request option or set byinterceptors.dns()composed outside the redirect interceptor.servernameis now cleared on cross-origin redirects, and same-origin redirects keep the caller's value.CVE-2026-139849 / GHSA-5p8q-mfqp-v63m (high)
EnvHttpProxyAgentapplied the application's target TLS options on only some routes:requestTlswas ignored when a request went direct, either because no proxy variable was set or because the host matchedNO_PROXY, andconnectwas ignored when a request was tunnelled through a proxy. Depending on the proxy environment variables, a private CA, certificate pinning, client certificate orrejectUnauthorizedsetting could be silently replaced by Node.js's default trust store and hostname check. Target TLS options now apply on every route, field by field, withconnecttaking precedence overrequestTlsandrequestTlsovertls.proxyTlsstill applies only to the connection to the proxy.CVE-2026-133890 / GHSA-v75p-g438-v7rr (high)
Undici 8.12.2 through 8.14.0 recorded a redirect hop whose path starts with
//as a protocol-relative URL, so a request sent to an attacker-controlled origin could be recorded as a hop on the trusted origin. With a shared cache andcompose(redirect(), cache()), a trusted URL that redirects to a URL the attacker controls could have the attacker's response cached under the trusted URL and served to later callers, and a cross-origin304could revalidate the trusted entry. Redirect hops are now recorded from the origin the request was actually sent to.CVE-2026-137980 / GHSA-8gc2-q8ww-ghwg (high)
MemoryCacheStoreandSqliteCacheStorekept every response body chunk as a separateBufferwhile counting only payload bytes against their size limits. A malicious origin sending a cacheable response as a large number of tiny chunks could exhaust process memory whilemaxEntrySizeandmaxSizewere still satisfied. Both stores now coalesce small chunks, so retained memory scales with the payload size rather than the chunk count.CVE-2026-139829 / GHSA-mf4q-95qj-5v8f (high)
With the
stream()API and a streaming request body, an error on the request body after the response had started reached the stream handler twice and threw an uncaughtTypeError, terminating the process. A malicious HTTP/2 server could trigger this by destroying the session while the upload was still in progress. The callback is now invoked exactly once.CVE-2026-137987 / GHSA-w33r-f3gw-3gch (high)
A malicious HTTP/2 origin could hold a request without opening a stream for it, by advertising
SETTINGS_MAX_CONCURRENT_STREAMS = 0or by withholding SETTINGS from an extended CONNECT such as a WebSocket handshake, and then repeatedly close the connection. Undici reconnected and replayed the held request without limit, consuming CPU while the request never settled. Held requests are now charged against the existing GOAWAY replay budget, so they are replayed once and then fail.CVE-2026-138000 / GHSA-4232-7jh5-4qqf (high)
In undici 8.12.0 through 8.14.0, when the retry interceptor was composed outside an interceptor that normalizes request headers (such as
dns) and request headers were given as an array of[name, value]pairs, an origin that closed a resumable response mid-body made the retry interceptor throw an uncaughtTypeErrorwhile building the resume request, terminating the process. Tuple-array headers are now handled when resuming.CVE-2026-139839 / GHSA-hx5c-5pjj-2548 (medium)
When a shared cache served a stale entry inside its
stale-while-revalidatewindow, a background revalidation304that added aVaryfield re-stored the old, unvaried body under the background caller's value of that header and marked it fresh. Later callers with that value could be served a response generated for another user or tenant. A background304that changes the storedVaryfields, or that was produced by a redirect target rather than the cached URL, now removes the stored entry instead of refreshing it.CVE-2026-129981 / GHSA-qpmw-hmf2-3j36 (medium)
A background
stale-while-revalidaterevalidation accepted a304 Not ModifiedwhoseETagdiffered from the cached representation, and kept serving the old body under the new validator and freshness lifetime. On a shared cache holding per-caller responses, this could serve one caller's response to another. The background path now rejects a mismatched validator and re-fetches, as the synchronous revalidation path already did.CVE-2026-139823 / GHSA-g489-q6j6-rh55 (medium)
The cache interceptor keyed responses by origin and path, but sent an explicit
Hostrequest header to the server as given. When an application sent requests for several hosts to one origin by setting theHostheader, a cached response for one host could be served for another without reaching the server. Requests whoseHostheader names a different authority than the origin now bypass the cache. Persistent stores such asSqliteCacheStorepopulated before upgrading may still hold such entries and should be cleared.CVE-2026-135194 / GHSA-pj2v-wx4q-45vc (medium)
In undici 8.10.2 through 8.14.0, with the
dumpandretryinterceptors composed, a server that announced a longer body than it sent and then closed the connection made the default retry policy throw on a missing abort reason. The error was emitted on an internal client with no listener and terminated the process. Abort reasons are now propagated, and the default retry policy tolerates malformed errors.CVE-2026-132045 / GHSA-gc94-vjfp-fm7x (low)
The cache interceptor trimmed
Cache-ControlandVaryheader values with a regular expression that backtracks quadratically, so a single response with a long run of whitespace could block the event loop for about 100 to 200 ms at the defaultmaxHeaderSize, and longer with a larger limit. Whitespace trimming now runs in linear time. The defaultfetch()and request paths were not affected.CVE-2026-144348 / GHSA-qfv9-2fjm-5p4m (low)
ProxyAgentadded the proxy credentials (fromauth,token, or the username and password in the proxy URL) as aproxy-authorizationentry directly on theheadersobject passed in its options, rather than on a copy. Any other agent holding the same object then sent those credentials to its own proxy, and they stayed in the application's object.EnvHttpProxyAgentpasses oneheadersobject to both the agent it creates forHTTP_PROXYand the one forHTTPS_PROXY, so when theheadersoption was set and the two variables named different proxies, one proxy received the other's credentials. Applications that do not set theheadersoption are not affected.ProxyAgentnow copies theheadersoption before adding credentials, so each agent sends only its own credentials and the application's object is left unchanged.What's Changed
New Contributors
Full Changelog: nodejs/undici@v8.14.0...v8.14.1
v8.14.0Compare Source
What's Changed
New Contributors
Full Changelog: nodejs/undici@v8.13.1...v8.14.0
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.