| CVE |
Vendors |
Products |
Updated |
CVSS v3.1 |
| 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. |
| When accessing an actuator endpoint over HTTP that includes a @Selector method parameter it possible to set the value using a query parameter rather than the path.
This may allow security matching rules to be bypassed. |
| When an InetAddressFilter is has a '0 bits' mask it matches both IPv4 and IPv6 addresses.
A filter of 0.0.0.0/0 should have only matched IPv4 address, likewise a filter of ::0/0 should have only matched IPv6 address. |
| When a Servlet-based web application that uses Actuator is deployed to Cloud Foundry, Spring Boot's default web security is disabled.
Reactive web applications or Servlet-based applications with custom security configuration are not affected. |
| When an InetAddressFilter is used with the JDK HttpClient factory filtering only applies to the initial request.
Redirect targets are never filtered and one request to an attacker-supplied URL that answers 302 to an internal address returns the internal response body to the caller. |
| When running on a HotSpot JVM, calling the Actuator's heapdump endpoint causes it to write the JVM's heap to a temporary file that can be read by other users. |
| When building a container image on a POSIX platform using Buildpacks, layers in excess of approximately 4KB in size are written to a temporary file that can be read by other users. |
| 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 org.springframework.util is trusted by default, a producer can declare org.springframework.util.ResizableByteArrayOutputStream and supply a number as the header value, causing the consumer to allocate a buffer of that size while mapping the header.
With Jackson 3, a single header with a large value raises an OutOfMemoryError that 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. With Jackson 2, a single record carrying many such headers can exhaust the heap with the same result. In both cases, a small record is enough for a malicious producer to repeatedly stop consumption and put memory pressure on the whole application.
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. |
| The XmppConnectionFactoryBean in Spring Integration XMPP builds an XMPPTCPConnectionConfiguration without setting a security mode, so Smack's default of SecurityMode.ifpossible applies. TLS is then negotiated only if the server advertises STARTTLS. Because the STARTTLS feature is advertised in the cleartext stream-features stanza, an on-path attacker can remove it, and the client silently continues without encryption. The configured credentials (or the SCRAM exchange) and all later message traffic are then sent in plaintext, which lets the attacker steal credentials and read and inject XMPP messages that the integration flow treats as legitimate.
Applications are affected if they use XmppConnectionFactoryBean to create the XMPP connection, rather than supplying their own XMPPTCPConnectionConfiguration , and an attacker can actively interpose on the network path to the XMPP server. |
| DefaultMessagePropertiesConverter recurses into nested List and Map header values when converting LongString instances, without any depth limit.
AMQP 0-9-1 field-arrays and field-tables may nest arbitrarily, so a single crafted message with deeply nested headers (a few tens of KB on the wire) triggers a StackOverflowError in the consumer thread before any application code is reached.
If the broker redelivers the unacknowledged message, the listener container enters a crash loop, resulting in a denial of service.
Applications are affected if they consume messages with a Spring AMQP listener container or RabbitTemplate.receive() from a queue to which an attacker can publish messages. |
| Every reply produced by an @AmqpListener method opens a new AMQP 1.0 sender link on the shared connection and never closes it.
A peer able to publish request messages with a reply-to property to the listened address can drive the consumer to exhaust the session's link-handle limit (and heap).
Once the limit is reached, all further replies and any other link creation on that connection fail, permanently degrading the listener until the application is restarted.
Applications are affected if they expose an @AmqpListener (or MethodAmqpListenerEndpoint ) whose handler method returns a non-void result, and an attacker can publish messages to the listened AMQP address. |
| JsonKafkaHeaderMapper and the deprecated DefaultKafkaHeaderMapper check the header type requested in the spring_json_header_types header against the mapper's trusted packages before deserializing a header value. Because java.lang is trusted by default, the type java.lang.Class passes this check. Deserializing a java.lang.Class header resolves the header value as a class name and loads that class, but the class named in the value is not subject to the trusted packages check.
A malicious producer can use this to make the consumer load, and with some Jackson versions initialize, any class on the consumer's classpath, regardless of the trusted packages configuration. The impact depends on the side effects of the static initializers of the classes present on the classpath, such as resource allocation, driver registration, or blocking.
An application is affected if it consumes records from a topic that an attacker can produce to and maps inbound headers with JsonKafkaHeaderMapper or DefaultKafkaHeaderMapper , which is the default when Jackson is on the classpath. |
| ClientRegistration , Spring Security's representation of an OAuth2/OpenID Connect client registration, includes the confidential client secret in the plaintext output of its toString() method.
Because toString() is invoked implicitly by common application and framework behaviors (parameterized logging, string concatenation, exception message construction, and similar), any code path that produces such output for a ClientRegistration instance may inadvertently disclose the client secret to a destination not intended to hold client credential material. |
| DelegatingDeserializer selects the delegate deserializer for each record from the spring.kafka.serialization.selector (value) or spring.kafka.key.serialization.selector (key) header. When the selector matched no configured delegate, it loaded the class named in the header, without any restriction, and, for a type supported by Kafka's Serdes (such as String or Long ), deserialized the record with the corresponding standard deserializer.
Since the producer sets the header, a malicious producer can choose how records are deserialized, regardless of the configured delegates, so that listeners receive data of an unexpected type, and can make the consumer load any class on its classpath. Combined with the selection of the configured delegates by the same header, this can let an attacker apply a delegate to data it was not intended for.
An application is affected if it consumes records from a topic that an attacker can produce to and uses DelegatingDeserializer as the key or value deserializer. |
| Spring MVC and Spring WebFlux applications that resolve the requested media type from a query parameter
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 MVC or Spring WebFlux
The application enables parameter-based content negotiation (for example, the format query parameter)
For Spring MVC applications, content negotiation is not restricted to registered extensions only ( useRegisteredExtensionsOnly )
When all conditions are met, an attacker can send crafted requests that cause the application to consume
memory without limit, eventually leading to a denial of service. |
| SimpleAmqpHeaderMapper.toHeaders() first populates the Spring Messaging headers with framework-derived values from the received MessageProperties (such as amqp_receivedUserId , amqp_consumerQueue , amqp_deliveryTag and amqp_redelivered ) and then copies the raw AMQP message headers, which are fully controlled by the publisher. As a result, a publisher can supply custom headers whose names collide with the amqp_* constants and silently replace the trusted values that downstream @RabbitListener handlers see via @Header or MessageHeaders .
Applications are affected if an attacker is able to publish messages routed to a listener and the application relies on an amqp_* framework header, for example AmqpHeaders.RECEIVED_USER_ID (broker-validated identity) or AmqpHeaders.CONSUMER_QUEUE , for authorization or routing decisions. |