| CVE |
Vendors |
Products |
Updated |
CVSS v3.1 |
| As a feature, Spring Cloud Function provides ability specify type via ‘type’ parameter of the content type. However it does not provide any guards against specifying system/platform classes. |
| When an inbound Message payload is a JSON array, framework provides no control over its size. This could lead to OOM errors. |
| When Spring Cloud Config Server uses property-based SSH settings ( spring.cloud.config.server.git.ignoreLocalSshSettings=true ) for a Git repository and no spring.cloud.config.server.git.hostKey is configured, it disables strict host key checking even if spring.cloud.config.server.git.strictHostKeyChecking is true , which is the default. The server then accepts any SSH server key and never consults the configured spring.cloud.config.server.git.knownHostsFile .
Applications are affected when they use the Config Server with a Git backend over SSH in property-based SSH mode without an explicit hostKey . |
| Spring Cloud Config Server can be configured to use property-based SSH settings for its Git repositories by setting spring.cloud.config.server.git.ignoreLocalSshSettings to true . The startup validators that check the host key and host key algorithm settings decide whether to run based on the top-level repository setting instead of the setting of the individual repository being validated.
When the top-level repository keeps the default ( ignoreLocalSshSettings=false ) and a sub-repository sets ignoreLocalSshSettings=true with an incomplete or unsupported host key configuration (for example a hostKeyAlgorithm without a hostKey ), the configuration passes validation at startup. At runtime, no host key is available for that sub-repository, so strict host key checking is disabled and any SSH server key is accepted.
Applications are affected when they use the Config Server with a Git backend over SSH and have a sub-repository configured this way. |
| Spring Cloud Config Server includes the full URI of its backend repository in the name of every property source it returns. When the Git or SVN repository URI contains credentials in its userinfo section, those credentials are returned in clear text in the response body of every successful configuration request. |
| Spring Cloud Kubernetes parses ConfigMap and Secret entries ending in .yaml with a SnakeYAML Yaml instance created without a SafeConstructor or any type restrictions.
If the application's classpath contains a SnakeYAML version earlier than 2.0, an attacker with write access to a ConfigMap or Secret that the application reads can supply a YAML payload that instantiates arbitrary Java types. |
| The Eureka Server dashboard in Spring Cloud Netflix renders the URLs of peer replicas in its HTML.
Credentials embedded in peer service URLs can be exposed in the dashboard to anyone who can view it.
Applications are affected when they run Eureka Server with the dashboard enabled (the default), have peer Eureka nodes configured with credentials embedded in their service URLs, and the dashboard is accessible without authentication. |
| When mapping inbound record headers, JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper (used by the default message converters) deserialize each header value into the type named for it in the producer-controlled spring_json_header_types header, provided that type's package is trusted. Because java.lang and java.util are trusted by default, a producer can declare a type with a very large number of array dimensions, such as java.lang.String followed by many [] suffixes, or an array of java.util.Timer .
Resolving the deeply nested array type recurses once per dimension and overflows the stack of the consumer thread with a StackOverflowError . Deserializing a java.util.Timer array starts a new thread for each element, so a large array can exhaust the native threads of the application. In both cases, the error is not caught by the mapper, so the listener container stops before the record is committed, and stops again on the same record after a restart. A malicious producer can use a single record to repeatedly stop consumption.
An application is affected if it consumes records from a topic that an attacker can produce to and maps headers with JsonKafkaHeaderMapper or DefaultKafkaHeaderMapper , which is the default for @KafkaListener methods and other listeners using the messaging message converters. |
| Applications which accept user-supplied Spring Expression Language (SpEL) expressions may
be vulnerable to a Denial of Service (DoS) attack.
Specifically, an application is vulnerable when the following condition is met:
The application accepts and evaluates untrusted or user-controlled SpEL expressions.
When this condition is met, an attacker can supply an expression that uses the collection
selection operator to perform significantly more work than permitted by the maximum
operations limit introduced for
CVE-2026-41850 , which can lead to excessive CPU
consumption. |
| Applications which accept user-supplied Spring Expression Language (SpEL) expressions
and evaluate them with a SimpleEvaluationContext may be vulnerable to the invocation of
constructors or methods through implicit type conversion, bypassing the restrictions on
constructor and method invocations.
Specifically, an application is vulnerable when all the following conditions are met:
The application accepts and evaluates untrusted or user-controlled SpEL expressions using
SimpleEvaluationContext .
The SimpleEvaluationContext uses its default type converter, or it is configured with a
TypeConverter or ConversionService that includes the default converters of
DefaultConversionService — for example, a DefaultConversionService or a
ConversionService populated via DefaultConversionService.addDefaultConverters() . |
| Applications may be vulnerable to a Regular Expression Denial of Service (ReDoS) attack
if they use PathPattern with a pattern that contains a {name:regex} variable,
and that regular expression is prone to excessive backtracking.
This applies to request mappings in Spring MVC and Spring WebFlux applications, as well as
PathPatternParser being used directly by applications.
When those conditions are met, an attacker can send crafted request paths that consume
excessive CPU time during request matching. |
| 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. |
| 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. |
| 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. |
| 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. |
| Spring applications that send HTTP client requests with an HTTP method derived from untrusted input
may be vulnerable to a denial of service attack.
Specifically, an application is vulnerable when all the following conditions are met:
The application is using RestClient , RestTemplate or WebClient with an ObservationRegistry configured
and Micrometer metrics enabled
The application uses the default ClientRequestObservationConvention
The application sends HTTP client requests with an HTTP method chosen by a remote user,
for example by forwarding the method of an incoming request to a downstream service
The configured ClientHttpRequestFactory or ClientHttpConnector accepts non-standard HTTP methods
When all conditions are met, an attacker can send many requests with distinct HTTP methods
that each create a new http.client.requests metric, eventually exhausting the application memory. |
| Spring WebFlux applications that decode a request body as a stream of text lines
may be vulnerable to a denial of service attack.
Specifically, an application is vulnerable when all the following conditions are met:
The application is using Spring WebFlux on Reactor Netty
The application decodes request bodies as a stream of String values, for example with bodyToFlux(String.class)
or a Flux<String> request body
The application configures a maxInMemorySize codec limit that is lower than the size of buffers
produced by the server (8KB by default with HTTP/1.1)
When all conditions are met, an attacker can send crafted requests that exceed the configured limit
and cause the application to leak pooled memory, eventually leading to a denial of service.
Applications using the default maxInMemorySize of 256KB with default server settings are not affected. |
| Applications using spring-ai-redis-semantic-cache with a SemanticCacheAdvisor shared by more than one end user are vulnerable to cross-user information disclosure and cache poisoning. Cached responses were isolated only by the hash of the system prompt, with no user, session, or tenant dimension, so all users shared a single cache pool.
A cached response that contains one user's data can be served to any other user who asks a similar question. An attacker can also prime a cache entry with attacker-controlled content, which is then served to later users. Cached entries do not expire when written through the advisor.
This issue is a residual isolation gap related to CVE-2026-59308, which addressed only isolation by system prompt. |
| Spring Integration FTP/FTPS outbound components ( FtpMessageHandler and FtpOutboundGateway ) build a textual FTP SITE chmod command by concatenating the remote file path into the command argument. If chmod is enabled and the remote filename or directory is derived from untrusted message data (for example, the FileHeaders.FILENAME header used by the default DefaultFileNameGenerator ), a crafted value containing CRLF characters can inject additional FTP commands on the same control connection.
An attacker who can influence the remote filename or path can execute unintended FTP control commands with the privileges of the configured FTP account. Depending on server permissions, the impact can include deletion, renaming, permission changes, or other server-supported FTP/SITE operations.
An application is affected if it uses the Spring Integration FTP outbound channel adapter or gateway with the chmod option set and the remote file name or remote directory can be controlled by an untrusted message sender. |
| Request matchers created by EndpointRequest and PathRequest may not correctly handle paths with trailing slashes.
This may prevent security matching rules from having the intended effect and leave a path unintentionally unsecured. |