CVE-2026-59426
Received Received - Intake

Cache Key Collision in Spring Cloud Gateway

Vulnerability report for CVE-2026-59426, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: VMware

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-02
AI Q&A
2026-12-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Spring Cloud Gateway's global LocalResponseCache filter uses a single shared cache for all routes without route-level configuration. The cache key includes request URI, Authorization header, cookies, and Vary headers but excludes the route handling the request. This allows responses cached for one route to be returned to requests matching a different route if both share the same URI but use different predicates like RemoteAddr or Host. An unauthenticated attacker could exploit this to access responses intended for other audiences.

Detection Guidance

Check if Spring Cloud Gateway is running versions 5.0.0 to 5.0.4, 4.3.0 to 4.3.6, or 4.0.0 to 4.2.10. Inspect configuration for enabled global LocalResponseCache filter. Review route configurations to identify routes sharing URIs but separated by different predicates.

Impact Analysis

This vulnerability allows unauthorized access to sensitive responses intended for other users or routes. Attackers could read restricted data, such as admin responses served to public routes, without authentication. It primarily affects applications using the global LocalResponseCache with multiple routes sharing the same URI but different predicates.

Compliance Impact

This vulnerability could lead to unauthorized data exposure, violating confidentiality requirements in GDPR and HIPAA. It risks unauthorized access to personal or sensitive health data, potentially resulting in compliance breaches, legal penalties, and reputational damage.

Mitigation Strategies

Upgrade to fixed versions: 5.0.5 (OSS), 5.0.4.1 (Enterprise), 4.3.7 (Enterprise), or 4.2.11 (Enterprise). Alternatively, disable the global LocalResponseCache by setting spring.cloud.gateway.server.webflux.global-filter.local-response-cache.enabled=false or spring.cloud.gateway.global-filter.local-response-cache.enabled=false for 4.2.x.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59426. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...