Search vulnerabilities

Results 7

Export CSV
CVE-2026-59428

Spring Cloud Gateway WebSocket Routing Filter Does Not Enforce Same-Origin by Default

Spring Cloud Gateway's WebsocketRoutingFilter accepts WebSocket handshakes without checking the Origin header. Browsers do not apply the same-origin policy or CORS to WebSocket handshakes. They only send the Origin header and rely on the server to accept or reject the request. Because the gateway does not reject cross-origin handshakes by default, a malicious web page can cause a victim's browser to open a WebSocket connection through the gateway to a backend service, using any credentials the browser attaches automatically, such as cookies. Applications are affected only if they expose a route with a ws or wss URI through the gateway. Spring Cloud Gateway now rejects cross-origin WebSocket handshakes by default with a 403 Forbidden response, and provides the spring.cloud.gateway.server.webflux.websocket.allowed-origins and spring.cloud.gateway.server.webflux.websocket.allowed-origin-patterns properties ( spring.cloud.gateway.websocket.* for the 4.x and 3.1.x lines) to allow specific origins.

CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Vendors
CVE-2026-59425

Spring Cloud Gateway JsonToGrpc Filter Leaks gRPC ManagedChannel Resources

Spring Cloud Gateway's JsonToGrpc filter creates a new Netty-backed gRPC ManagedChannel for every HTTP request that matches a route using the filter. The channel is never shut down or reused, so its socket and channel resources remain open after the request completes. An unauthenticated attacker who can reach a route that uses the JsonToGrpc filter can send repeated requests and cause the gateway to retain open sockets and channel resources, resulting in a denial of service. Applications are affected only if they expose a route configured with the JsonToGrpc filter.

CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Vendors
CVE-2026-59426

Spring Cloud Gateway Global LocalResponseCache Leaks Responses Across Routes

Spring Cloud Gateway's global LocalResponseCache filter uses a single cache shared by every route that does not configure the route-level LocalResponseCache filter. The cache key is built from the request URI, the Authorization header, the request cookies, and any request headers named in the response's Vary header. The route that handled the request is not part of the key. When routes match the same request URI but are selected by different predicates (for example RemoteAddr , Host , Header , Cookie , Query , or custom predicates) and forward to different upstreams, a response cached for one route can be returned to a caller that matches only another route. For example, a response cached for a restricted route can be served to a caller that matches only a public route, without that request reaching either upstream. An unauthenticated attacker can exploit this to read responses that were meant for a different audience. Applications are affected only if the global LocalResponseCache is enabled and at least two routes that use it match the same request URI but are separated by predicates that do not influence the cache key. Routes that configure the route-level LocalResponseCache filter use their own per-route cache and are not affected.

CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Vendors
CVE-2026-59427

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

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 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Vendors
CVE-2026-47825

Spring Cloud Gateway Server Forwards Headers from Untrusted Proxies in certain situations

Spring Cloud Gateway Server forwards the X-Forwarded-For and Forwarded headers from untrusted proxies in certain configuration scenarios. This affects both the WebMVC and WebFlux Gateway Servers. Affected versions: Spring Cloud Gateway 3.1.x (fix 3.1.13). Spring Cloud Gateway 4.1.x (fix 4.1.13). Spring Cloud Gateway 4.2.x (fix 4.2.9). Spring Cloud Gateway 4.3.x (fix 4.3.5). Spring Cloud Gateway 5.0.x (fix 5.0.2).

CVSS 3.1 · 8.6 High EPSS < 1% KEV · Not listed
Vendors
CVE-2026-47879

Spring Cloud Gateway SSRF and native file access with gRPC

Spring Cloud Gateway JsonToGrpcGatewayFilterFactory allows arbitrary Spring Resource locations for defining the proto descriptor. Spring Cloud Gateway 5.0.0 - 5.0.2 Spring Cloud Gateway 4.3.0 - 4.3.5 Spring Cloud Gateway 4.0.0 - 4.2.9 Spring Cloud Gateway 3.1.13 and earlier

CVSS 3.1 · 7.7 High EPSS < 1% KEV · Not listed
Vendors
CVE-2025-41253

Spring Cloud Gateway Webflux SpEL Injection Vulnerability Allowing Exposure of Environment Variables

The following versions of Spring Cloud Gateway Server Webflux may be vulnerable to the ability to expose environment variables and system properties to attackers. An application should be considered vulnerable when all the following are true: * The application is using Spring Cloud Gateway Server Webflux (Spring Cloud Gateway Server WebMVC is not vulnerable). * An admin or untrusted third party using Spring Expression Language (SpEL) to access environment variables or system properties via routes. * An untrusted third party could create a route that uses SpEL to access environment variables or system properties if: * The Spring Cloud Gateway Server Webflux actuator web endpoint is enabled via management.endpoints.web.exposure.include=gateway and management.endpoint.gateway.enabled=trueor management.endpoint.gateway.access=unrestricte. * The actuator endpoints are available to attackers. * The actuator endpoints are unsecured.

CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Vendors
Products
Spring Webflux Spring and 1 more