CVE-2026-59427: Spring Cloud Gateway LocalResponseCache Stores private and no-store Responses, Leaking Authenticated Content

Published Dec 2, 2026
·
Updated

Spring Cloud Gateway's LocalResponseCache decides whether an upstream response may be stored by comparing each complete Cache-Control header value with the strings private and no-store , instead of parsing the comma-separated directives. A protected upstream response with a combined value, such as private, no-store or the Spring Security default no-cache, no-store, max-age=0, must-revalidate , is therefore stored in the route cache even though the upstream prohibited it. A later request can then be served that cached response without reaching the upstream, so an unauthenticated attacker can read content that was meant for an authenticated user.

Applications are affected only if LocalResponseCache is enabled on a route that forwards to an upstream that returns user-specific or otherwise private responses with a Cache-Control header containing more than one directive, and the upstream does not distinguish callers with a Vary header.

Affected Software

1 affected component
VMware Spring Cloud Gateway

Event History

Dec 2, 2026
CVE Published
via MITRE·07:12 AM
Data Sourced
via MITRE·07:12 AM
DescriptionSeverity

Frequently Asked Questions

1

Which deployments are actually exposed?

A deployment is affected only when LocalResponseCache is enabled on a route, that route forwards to an upstream returning user-specific or private content, and the upstream uses a multi-directive Cache-Control header. The upstream also must not separate callers using a Vary header.

2

What does an attacker need to exploit this?

An attacker can make a later unauthenticated request after an authenticated user's protected response has been cached. No authentication, user interaction, or upstream access is required for that later request.

3

How can I determine whether a route may be leaking content?

Review routes with LocalResponseCache enabled and inspect upstream Cache-Control responses. Routes are at risk when private responses use combined directives such as "private, no-store" or "no-cache, no-store, max-age=0, must-revalidate" and do not use Vary to distinguish callers.

4

What can be done if patching is not immediately possible?

Disable LocalResponseCache on routes that proxy authenticated, user-specific, or otherwise private upstream content. This prevents those upstream responses from being served from the route cache.

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