CVE-2026-84933: undici vulnerable to cross-user cookie disclosure via Set-Cookie caching in shared caches

Published Sep 4, 2026
·
Updated

undici's cache interceptor does not handle the Set-Cookie response header anywhere in its cache path, so it neither refuses to store nor strips that header. In shared cache mode, which is the default, an otherwise cacheable response that carries a Set-Cookie header, for example one marked with a public and max-age directive, is stored and then re-served to a later caller that matches the same cache key. As a result one caller's cookie is disclosed to a different caller, and an untrusted server can inject cookies into cached responses served to all subsequent callers. This violates the requirement that a shared cache must not store cookies. This affects undici versions from 7.0.0 up to 7.29.1 and from 8.0.0 up to 8.10.2. Users should upgrade to undici 7.29.1 or 8.10.2.

Affected Software

2 affected components
undici>7.0.0<=7.29.1
undici>8.0.0<=8.10.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade undici to a version that resolves this vulnerability.

    Fixed in 7.29.1
  2. Upgrade

    Upgrade undici to a version that resolves this vulnerability.

    Fixed in 8.10.2

Event History

Sep 4, 2026
CVE Published
via MITRE·04:59 PM
Data Sourced
via MITRE·04:59 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are most exposed to this issue?

Deployments using undici's cache interceptor in shared cache mode are exposed; shared cache mode is the default. The issue applies when the cache stores an otherwise cacheable response that includes a Set-Cookie header.

2

What must happen for cookie disclosure or injection to occur?

A response carrying Set-Cookie must be considered cacheable, such as one with public and max-age directives, and be stored under a cache key that a later caller matches. The later caller can then receive the prior caller's cookie, while an untrusted server can cause cookies to be included in cached responses served to subsequent callers.

3

Which versions should be upgraded?

The affected ranges are stated as undici 7.0.0 through 7.29.1 and 8.0.0 through 8.10.2. The provided advisory recommends upgrading to undici 7.29.1 or 8.10.2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203