CVE-2026-59427
Received Received - Intake

Spring Cloud Gateway LocalResponseCache Cache-Control Bypass

Vulnerability report for CVE-2026-59427, 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 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.

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

Showing 4 associated CPEs

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 LocalResponseCache incorrectly handles Cache-Control headers by comparing the entire header value against 'private' and 'no-store' instead of parsing comma-separated directives. This allows responses with combined directives like 'private, no-store' to be cached even when the upstream server intended to prevent caching. As a result, unauthenticated attackers could access cached responses meant for authenticated users.

Detection Guidance

Check if your Spring Cloud Gateway version is affected by running: curl -s http://localhost:8080/actuator/info | grep version. If using 5.0.0-5.0.4, 4.3.0-4.3.6, or 4.0.0-4.2.10, the system is vulnerable. Inspect Cache-Control headers in responses with: curl -v http://your-gateway-url. Look for combined directives like private, no-store or no-cache, no-store, max-age=0.

Impact Analysis

Unauthenticated attackers may read content intended for authenticated users by accessing cached responses that should have been prohibited from storage. This occurs if LocalResponseCache is enabled on a route forwarding to an upstream returning user-specific responses with a Cache-Control header containing multiple directives without a Vary header.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive user data stored in cached responses, violating GDPR's data protection principles and HIPAA's confidentiality requirements for protected health information.

Mitigation Strategies

Upgrade Spring Cloud Gateway to fixed versions: 5.0.5, 4.3.7, or 4.2.11 depending on your release track. Disable LocalResponseCache if not required. Ensure upstream servers include Vary headers to distinguish callers. Monitor cached responses for unauthorized access.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59427. 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...