CVE-2026-59427

7.5High

Published Dec 2, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.5CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on confidentiality
Weakness
—

What an attacker gets

Unauthenticated attackers can access sensitive, user-specific data that was incorrectly cached. This occurs when the gateway caches responses that should have been marked private or no-store.

Root cause

The LocalResponseCache incorrectly performs a string match on the Cache-Control header instead of parsing individual comma-separated directives.

Affected versions

Spring Cloud Gateway 4.1.0 through 4.1.4 and 4.0.0 through 4.0.9

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Fix & remediation

Upgrade to Spring Cloud Gateway 4.1.5 or 4.0.10. If you cannot upgrade, disable the LocalResponseCache feature in your route configuration.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-59427

More fully triaged vulnerabilities you may want to check next.