CVE-2026-59426: Spring Cloud Gateway Global LocalResponseCache Leaks Responses Across Routes

Published Dec 2, 2026
·
Updated

Spring Cloud Gateway's global LocalResponseCache filter uses a single cache shared by every route that does not configure the route-level LocalResponseCache filter. The cache key is built from the request URI, the Authorization header, the request cookies, and any request headers named in the response's Vary header. The route that handled the request is not part of the key.

When routes match the same request URI but are selected by different predicates (for example RemoteAddr , Host , Header , Cookie , Query , or custom predicates) and forward to different upstreams, a response cached for one route can be returned to a caller that matches only another route. For example, a response cached for a restricted route can be served to a caller that matches only a public route, without that request reaching either upstream. An unauthenticated attacker can exploit this to read responses that were meant for a different audience.

Applications are affected only if the global LocalResponseCache is enabled and at least two routes that use it match the same request URI but are separated by predicates that do not influence the cache key. Routes that configure the route-level LocalResponseCache filter use their own per-route cache and are not affected.

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
Data Sourced
via NVD·08:17 AM
DescriptionSeverity

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Affected deployments have the global LocalResponseCache enabled and at least two routes that can match the same request URI while being separated by predicates that do not affect the cache key. The routes must forward to different upstreams for a cached response from one route to be served through another.

2

Does an attacker need credentials or user interaction to exploit this?

No. An unauthenticated attacker can exploit the issue to read a response intended for a different audience, and exploitation does not require user interaction.

3

What route configurations should be reviewed first?

Review routes sharing request URIs that are selected using RemoteAddr, Host, Header, Cookie, Query, or custom predicates. Determine whether those predicates distinguish audiences or upstreams without contributing to the cache key.

4

What can be done while patching is unavailable?

Disable the global LocalResponseCache filter where possible, since the issue requires that global cache to be enabled. Prioritize preventing shared caching for routes that overlap on request URI but differ by audience-selection predicates.

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