The Spring team shipped Spring Cloud 2025.1.5, a service release of the Oakwood train, on November 20, 2026. It moves the train onto Spring Boot 4.0.10 and bundles fixes for twelve security advisories published a day earlier, five of them rated high severity.
The flaws sit in some of the most widely deployed parts of Spring Cloud: the API gateway, the central configuration server, the Kubernetes integration and the Eureka registry. Teams running microservices on the open source 2025.1 line should treat this as a security upgrade rather than a routine bug-fix drop.
What Is in the Release
Eleven modules received new versions. The most important bumps for security are these:
- Spring Cloud Gateway 5.0.5: four CVEs, three of them high severity
- Spring Cloud Config 5.0.7: three CVEs, one high
- Spring Cloud Netflix 5.0.4: one high-severity credential exposure in the Eureka dashboard
- Spring Cloud Kubernetes 5.0.5: one medium-severity code execution issue
- Spring Cloud Function 5.0.6 and Spring Cloud Stream 5.0.5: three low-severity issues
Alongside the security work, the release fixes a race in Spring Cloud Commons that could briefly set nested configuration objects to null during a refresh, plus refresh failures in two edge cases. Spring Cloud Consul no longer throws a NullPointerException when the Consul cluster has no leader, a bug that could leave gateway discovery routes empty.
The High-Severity Flaws
Two gateway issues involve the LocalResponseCache feature. In CVE-2026-59427, the cache compared the whole Cache-Control value with single keywords instead of parsing each directive. A response marked with several directives, such as the Spring Security default, could be cached anyway and later served to an anonymous caller.
CVE-2026-59426 affects the global form of that cache. Its key ignores which route handled a request, so two routes that share a URI but differ by host, header or address predicates could leak a cached response from a restricted route to a public one. Routes configured with a route-level cache are not affected.
CVE-2026-59425 is a denial-of-service risk. The JsonToGrpc filter opened a fresh gRPC channel for every matching request and never closed it, so repeated unauthenticated calls could exhaust sockets on the gateway.
On the configuration side, CVE-2026-59435 means Config Server returned the full backend repository address in every property source name. If that Git or SVN address carried a username and password, every client fetching configuration received those credentials in clear text.
CVE-2026-59433 is similar for Eureka: the dashboard, which is on by default, printed peer URLs with embedded credentials to anyone who could open it.
Medium and Low Issues
Spring Cloud Kubernetes parsed YAML entries from ConfigMaps and Secrets without type restrictions (CVE-2026-59434). With a SnakeYAML version older than 2.0 on the classpath, someone able to write to those objects could create arbitrary Java types inside the application.
Two Config Server flaws, CVE-2026-59436 and CVE-2026-59437, could switch off SSH host key checking for Git backends in property-based SSH mode, which opens the door to a man-in-the-middle attack.
In CVE-2026-59428, the gateway accepted cross-origin WebSocket handshakes, so a hostile page could open a socket to a backend using the victim's cookies. The gateway now rejects such handshakes by default and adds allowed-origin properties.
The low-rated issues cover unbounded JSON arrays and unchecked class names in Spring Cloud Function, and a package prefix check in the Spring Cloud Stream Kafka binder that also trusted subpackages.
What It Means for Developers
Start by mapping which modules you actually run. A gateway with LocalResponseCache in front of authenticated services is the highest-priority case, because private user data could be served to strangers without any log showing a backend call.
For Config Server and Eureka, upgrading stops the leak but does not undo it. If your repository URLs or peer URLs held credentials, assume they were exposed and rotate them, then move secrets out of URLs and into proper credential properties.
The WebSocket change is a behaviour change. After upgrading, browser clients on a different origin will receive 403 responses until you list their origins, so test this before production. Kubernetes users should also confirm that SnakeYAML 2.x is on the classpath.
Several advisories list older lines such as 4.3.x, 4.2.x and 3.1.x as affected, with some fixes offered only through commercial Enterprise Support. Teams still on those trains should check each advisory and plan a move to a supported release. Recent Spring coverage on this site includes Spring Boot 4.2.0 and the Spring Data CVE fixes.
How to Upgrade
Set the spring-cloud-dependencies bill of materials to 2025.1.5 in Maven or Gradle, and make sure Spring Boot is at 4.0.10. Run your tests with particular attention to gateway caching, WebSocket routes and configuration refresh.
Conclusion
Spring Cloud 2025.1.5 is a small version step that carries a large security payload. Upgrade promptly, rotate any credentials that lived in repository or peer URLs, and allow-list WebSocket origins before the new same-origin default reaches users.
Sources
- Spring Blog: Spring Cloud 2025.1.5 (aka Oakwood) Has Been Released
- Spring Security Advisory: CVE-2026-59427
- Spring Security Advisory: CVE-2026-59426
- Spring Security Advisory: CVE-2026-59435
- Spring Security Advisory: CVE-2026-59434
- Spring Security Advisory: CVE-2026-59428
See my articles more often when you search Google.
