Skip to content

Spring Cloud

Spring Cloud Gateway LocalResponseCache Stores private and no-store Responses, Leaking Authenticated Content

CVE-2026-59427Published 2 Dec 2026, 07:12 UTC

Real-world risk

6.8/ 10Medium

Schedule in the normal cycle

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.5

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from vmware)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Spring CloudWidespread>= 5.0.0, < 5.0.4.1; >= 4.3.0, < 4.3.7; >= 4.0.0, < 4.2.11; >= 5.0.0, < 5.0.55.0.4.1, 4.3.7, 4.2.11, 5.0.5

What to do

Update to a fixed version: 5.0.4.1, 4.3.7, 4.2.11, 5.0.5.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.8 × prerequisites 1 × threat 0.856.800
  4. Rounded to one decimal between 0.1 and 106.8

How the score works

Exploitation and evidence timeline

  1. 2 Dec 2026 Published
  2. 2 Dec 2026 Risk 6.8 (cvss fallback)

Weakness

No weakness type given.

References

Get alerts for Spring Cloud

Free email or text alerts when a vulnerability in Spring Cloud reaches risk 8 or higher. Nothing else.