A vulnerability in Spring Boot affects Servlet-based web applications using Actuator when deployed to Cloud Foundry. In this scenario, Spring Boot's default web security is disabled, potentially exposing the application to unauthorized access. Reactive web applications and Servlet-based applications with custom security configurations are not impacted. The vulnerability has a high severity with a CVSS score of 9.1.
Spring Cloud Gateway's JsonToGrpc filter creates a new Netty-backed gRPC ManagedChannel for every HTTP request matching a route using this filter. These channels are neither shut down nor reused, causing socket and channel resources to remain open after request completion. An unauthenticated attacker able to reach such a route can send repeated requests, leading to resource exhaustion and denial of service. Only applications exposing routes configured with the JsonToGrpc filter are affected.
Spring Cloud Gateway's WebsocketRoutingFilter does not check the Origin header during WebSocket handshakes, allowing cross-origin WebSocket connections by default. This can enable a malicious web page to cause a victim's browser to open a WebSocket connection through the gateway to a backend service, potentially using the victim's credentials such as cookies. The issue affects applications exposing routes with ws or wss URIs through the gateway. The gateway now rejects cross-origin WebSocket handshakes by default and provides configuration properties to allow specific origins.
A vulnerability exists in actuator endpoints that include a @Selector method parameter, where the parameter value can be set via a query parameter instead of the intended path. This behavior may allow bypassing of security matching rules when accessing these endpoints over HTTP.
A vulnerability exists in the request matchers created by EndpointRequest and PathRequest, where paths with trailing slashes may not be handled correctly. This flaw can cause security matching rules to fail, potentially leaving certain paths unintentionally unsecured.
Applications that accept and evaluate user-supplied Spring Expression Language (SpEL) expressions without proper restrictions may be vulnerable to a Denial of Service (DoS) attack. This occurs when an attacker crafts a SpEL expression using the collection selection operator to exceed the maximum operations limit, causing excessive CPU consumption.
Applications using spring-ai-redis-semantic-cache with a SemanticCacheAdvisor shared by multiple end users are vulnerable to cross-user information disclosure and cache poisoning. The cache isolation is based solely on the hash of the system prompt without user, session, or tenant separation, allowing cached responses containing one user's data to be served to others. An attacker can also insert malicious cache entries that affect subsequent users. Cached entries do not expire when written through the advisor. This vulnerability is related to but distinct from CVE-2026-59308, which only addressed isolation by system prompt.
CVE-2026-59432 describes a vulnerability in JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper used in Spring Kafka message converters. These mappers deserialize inbound record headers based on producer-declared types if the package is trusted. An attacker can craft headers with deeply nested array types or arrays of java.util.Timer, causing stack overflow or thread exhaustion on the consumer side. This leads to the listener container stopping repeatedly on the same record, effectively causing a denial of service by halting message consumption.
Spring applications that send HTTP client requests with HTTP methods derived from untrusted input may be vulnerable to a denial of service (DoS) attack. This occurs when the application uses RestClient, RestTemplate, or WebClient with an ObservationRegistry configured and Micrometer metrics enabled, along with the default ClientRequestObservationConvention. If the HTTP method is chosen by a remote user and the configured ClientHttpRequestFactory or ClientHttpConnector accepts non-standard HTTP methods, an attacker can exhaust application memory by sending many requests with distinct HTTP methods, each creating a new metric.
Spring Cloud Gateway's global LocalResponseCache filter uses a single shared cache for all routes that do not configure a route-level cache. This can cause responses cached for one route to be served to requests matching a different route, potentially exposing restricted responses to unauthorized users. The issue arises when multiple routes share the same request URI but differ by predicates not included in the cache key. Applications are affected only if the global cache is enabled and multiple routes with overlapping URIs but different predicates exist without per-route caching.
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.
The Eureka Server dashboard in Spring Cloud Netflix exposes URLs of peer replicas in its HTML output. If these URLs contain embedded credentials, those credentials can be viewed by anyone with access to the dashboard. This affects applications running Eureka Server with the dashboard enabled (default setting), configured with peer Eureka nodes that include credentials in their service URLs, and where the dashboard is accessible without authentication.
CVE-2026-59412 describes a vulnerability in InetAddressFilter where a '0 bits' mask causes the filter to match both IPv4 and IPv6 addresses. This behavior deviates from the expected functionality where a filter of 0.0.0.0/0 should match only IPv4 addresses and ::0/0 should match only IPv6 addresses.
Applications using Spring MVC or Spring WebFlux that employ PathPattern with a {name:regex} variable containing a regex prone to excessive backtracking may be vulnerable to a Regular Expression Denial of Service (ReDoS) attack. An attacker can craft request paths that cause excessive CPU consumption during request matching, potentially degrading application performance.
Spring WebFlux applications that decode request bodies as streams of text lines may be vulnerable to a denial of service (DoS) attack. This vulnerability occurs when the application uses Reactor Netty, decodes request bodies as Flux<String> or via bodyToFlux(String.class), and configures a maxInMemorySize codec limit lower than the server's buffer size (8KB by default). Under these conditions, crafted requests can cause pooled memory leaks, leading to DoS. Applications using default maxInMemorySize (256KB) with default server settings are not affected.
Spring Integration FTP/FTPS outbound components (FtpMessageHandler and FtpOutboundGateway) are vulnerable to command injection via the FTP SITE chmod command. This occurs when the remote filename or directory, derived from untrusted message data, contains CRLF characters that allow injection of additional FTP commands. Exploitation requires the chmod option to be enabled and control over the remote file path. The attacker can execute unintended FTP commands with the privileges of the configured FTP account, potentially leading to file deletion, renaming, permission changes, or other FTP operations supported by the server.
This vulnerability affects applications that accept user-supplied Spring Expression Language (SpEL) expressions and evaluate them using SimpleEvaluationContext. Such applications may be vulnerable to invocation of constructors or methods via implicit type conversion, bypassing intended restrictions. The vulnerability specifically arises when the application uses the default type converter or a ConversionService that includes default converters from DefaultConversionService.
The ClientRegistration class in Spring Security, which represents an OAuth2/OpenID Connect client registration, includes the confidential client secret in the plaintext output of its toString() method. This behavior can lead to inadvertent disclosure of the client secret through common application or framework operations that implicitly invoke toString(), such as logging or exception handling.
The start goal of Spring Boot's Maven plugin launches the application under test with JMX enabled and configured to accept remote connections without authentication. This configuration exposes the application to potential remote code execution via JMX. The vulnerability has a medium severity rating with a CVSS score of 5.0.
A vulnerability exists in the Buildpacks container image building process on POSIX platforms where layers larger than approximately 4KB are written to temporary files accessible by other users. This exposure could lead to unauthorized disclosure of sensitive data contained in these layers.