PT-2026-169026

CVE-2026-139839

·

Published

2026-12-05

·

Updated

2026-12-05

Description by

CVSS 3.1
5.9
Medium
MetricsAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions undici versions 7.17.0 through 7.30.3 undici versions 8.0.0 through 8.14.0
Description An issue exists in the shared cache interceptor where a 304 Not Modified response that introduces a Vary field is not recognized as a change of representation when revalidating a stale entry in the background. This causes the client to re-store the old, unvaried body under the background caller's header value and mark it as fresh. Consequently, subsequent callers with that header value may receive a cached body generated for a different request, potentially leading to cross-user disclosure of cached responses. This occurs when a shared cache is used, the origin initially returns a cacheable response without Vary and with stale-while-revalidate, and a subsequent background 304 response introduces the Vary field.
Recommendations Update undici versions 7.17.0 through 7.30.3 to version 7.30.4 or later. Update undici versions 8.0.0 through 8.14.0 to version 8.14.1 or later. Use a private cache. Disable stale-while-revalidate reuse for per-user resources. Ensure the origin sends the final Vary header on the initial response.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾