Skip to main content
CVE-2026-59427VulnerabilityPublished

Spring Cloud Gateway's LocalResponseCache decides whether an upstream response may be stored by comparing each

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-59427· High 7.5

Not known to be exploited · CVSS 7.5 High · fixed in 5.0.5 : patch Spring Cloud Gateway soon.

Data as of 2 Dec 2026, 10:14 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (vmware)CVSS 3.17.5
Patch
Available – fixed in 5.0.5, 5.0.4.1, 4.3.7 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.

What to do

Upgrade Spring Cloud Gateway and org.springframework.cloud/spring-cloud-gateway to 5.0.5, 5.0.4.1, 4.3.7 or 4.2.11.

Affected software

ProductAffectedFixed in
SpringSpring Cloud GatewayAffected
  • >=5.0.0 <5.0.5
Fixed in
  • 5.0.5
SpringSpring Cloud GatewayAffected
  • >=5.0.0 <5.0.4.1
Fixed in
  • 5.0.4.1
SpringSpring Cloud GatewayAffected
  • >=4.3.0 <4.3.7
Fixed in
  • 4.3.7
SpringSpring Cloud GatewayAffected
  • >=4.0.0 <4.2.11
Fixed in
  • 4.2.11
Mavenorg.springframework.cloud/spring-cloud-gatewaypkg:maven/org.springframework.cloud/spring-cloud-gatewayOther threatsAffected
  • >=4.0.0 <4.2.11
  • >=4.3.0 <4.3.7
  • >=5.0.0 <5.0.4.1
  • >=5.0.0 <5.0.5
Fixed in
  • 4.2.11
  • 4.3.7
  • 5.0.4.1
  • 5.0.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Users should verify if LocalResponseCache is enabled on routes forwarding to upstreams that return private or user-specific responses with multi-directive Cache-Control headers. If so, consider disabling LocalResponseCache or ensuring upstream responses include appropriate Vary headers to prevent caching of sensitive content. Monitor vendor advisories for official remediation guidance.

Description

Spring Cloud Gateway's LocalResponseCache improperly handles Cache-Control headers with multiple directives by comparing the entire header value to 'private' and 'no-store' strings instead of parsing individual directives. This flaw allows caching of protected upstream responses that should not be cached, potentially exposing private content to unauthenticated attackers if the route is configured to cache such responses and the upstream does not use a Vary header to distinguish callers.

References

Community reviews

Loading reviews…