| CVE |
Vendors |
Products |
Updated |
CVSS v3.1 |
| 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. |
| Spring Framework's UrlHandlerFilter can be used to issue redirects that send users
to an unintended, attacker-chosen location. This is a follow-up to CVE-2026-47883.
An application is affected if it uses UrlHandlerFilter to redirect requests to remove
trailing slashes. In that case, a specially crafted request URL can cause the filter to
generate a redirect response that browsers interpret as pointing to a different origin. |
| Spring Framework's WebFlux XML decoding can exceed the configured maxInMemorySize limit.
This is a follow-up to CVE-2026-47891.
An application is affected if it decodes XML request or response bodies with WebFlux
using the Aalto XML parser. In that case, a specially crafted XML payload can cause memory
consumption to grow beyond the configured limit, potentially leading to denial of service. |
| Spring Framework's STOMP over SockJS support can expose messages intended for
one user to another user.
An application is affected if it uses STOMP messaging with the SockJS transport
and sends messages to specific users, for example, with
SimpMessagingTemplate.convertAndSendToUser . In that case, an authenticated user can
craft a SockJS session in a way that causes them to receive messages intended for
another user's active session. |
| Spring Framework's STOMP broker relay can allow an authenticated user to bypass message
authorization rules when an external STOMP broker is used.
An application is affected if it uses the STOMP broker relay with an external broker and
relies on Spring Security message authorization to restrict access to destinations.
In that case, a specially crafted sequence of STOMP frames can cause the broker to
process commands that the application's authorization rules would otherwise deny,
potentially allowing a user to send or receive messages on restricted destinations. |
| Spring Framework's WebSocket support does not validate the Origin header by
default if WebSocketHttpRequestHandler is configured directly by the application, rather
than through the WebSocket config via WebSocketHandlerRegistry .
An application is affected if it configures WebSocket handling this way without adding
an origin check. In that case, a page served from a different origin can open a WebSocket
connection resulting in cross-site WebSocket hijacking. Applications that use
the WebSocket config via WebSocketHandlerRegistry are not affected. |
| Spring WebFlux applications that parse multipart request are vulnerable to part smuggling when relaying multipart to downstream services.
Specifically, an application is vulnerable when all the following conditions are met:
The application is using Spring WebFlux
The application is receiving multipart requests from untrusted sources
The application is performing checks against the multipart content
The application is relaying those multipart requests to downstream services
When all conditions are met, an attacker can send a malicious multipart request that works around application checks
and triggers unwanted behavior on the downstream service. |
| The fix for CVE-2026-59307 introduced a regression in JdbcMessageStore . When the store is configured as a <bean> or via @Bean , the Spring container populates properties (including addAllowedPatterns() ) before invoking the BeanClassLoaderAware callback. setBeanClassLoader() then replaces the deserializer with a new, empty AllowListDeserializingConverter and rebinds the message row mapper to it, discarding the previously registered allowed patterns. Since an empty allow-list permits all types, the store deserializes any class present on the classpath from the INT_MESSAGE.MESSAGE_CONTENT column, silently defeating the allow-list the operator configured.
Applications are affected if they use JdbcMessageStore with an allow-list of deserializable types configured through addAllowedPatterns() on a Spring-managed bean, and an attacker is able to write to the message store table. |
| The symbolic link guard in AbstractZipTransformer.onInit() protects an explicitly configured workDirectory , but not the default one.
The default work directory, ${java.io.tmpdir}/ziptransformer , is canonicalized when the transformer is constructed, so any symbolic link at that location is already resolved to its target by the time the guard runs, and the check passes.
Because the default path is fixed and well known, an unprivileged local user who can create ${java.io.tmpdir}/ziptransformer as a symbolic link before the application starts can redirect the transformer's temporary file writes to a directory of their choosing, with files written as the application's user.
No configuration is required on the application side; using the default work directory is enough. |
| The fix for CVE-2026-40987 validates only the file name against the local directory. For the remote file outbound gateway MGET command, the local directory itself can be derived from the server-controlled listing entry via the documented #remoteDirectory SpEL variable in a local-directory-expression . Since the directory is canonicalized before the containment check, the check passes even though the directory has already escaped the intended root, and the framework then creates the escaped directory.
As a result, a malicious FTP, SFTP or SMB server can write files with attacker-controlled content to arbitrary paths outside the configured local directory.
Applications are affected if they use the MGET command of an FTP, SFTP or SMB outbound gateway with a local directory expression that references #remoteDirectory (as in the reference documentation examples) and connect to a server that may be malicious or compromised. |
| Spring WS added destination checks to each WebServiceMessageSender , see CVE-2026-40999 .
Screening a peer-supplied destination for reachability this way cannot be made correct.
A remote attacker who controls a wsa:ReplyTo or wsa:FaultTo address can still craft a destination that passes these checks yet resolves to an internal-only host, a cloud metadata endpoint, or another destination that is not otherwise reachable from the attacker.
As with the original issue, the delivery is one-way: Spring WS never reads back or exposes the destination's response, so this does not let an attacker read back that destination's contents.
This issue only affects deployments where all the following are true:
An AbstractAddressingEndpointMapping subclass is registered with one or more WebServiceMessageSender instances configured for out-of-band replies, relying on the sender's default checks rather than an application-supplied DestinationPolicy .
The service accepts WS-Addressing headers ( wsa:ReplyTo / wsa:FaultTo ) from untrusted callers.
No restrictive destination validator or equivalent network-level egress control compensates for the insufficient default checks.
Note that applications are affected. Configuring messageSenders on an addressing endpoint mapping is no longer enough to enable out-of-band replies.
Every WebServiceMessageSender that you configure on AbstractAddressingEndpointMapping should register a DestinationPolicy stating which destinations it may target. |
| Spring Boot applications with Actuator can be vulnerable to an "Authentication Bypass" vulnerability when an application
resource that requires authentication is mapped under the same path used by the health endpoint.
More precisely, an application can be vulnerable when all the following are true:
the application is a Jersey-based web application ( spring-boot-starter-jersey ), rather than Spring MVC or WebFlux
the application has the Actuator dependency on the classpath
the application has the Spring Security dependency on the classpath, relying on the default security configuration
the health endpoint is exposed on a path also used by an application-provided resource, either through an additional
health path (for example management.endpoint.health.probes.add-additional-paths=true , or a health group's additional-path ),
or through management.endpoints.web.base-path=/
the application contributes a JAX-RS resource at that same path which requires authentication
Note that mapping application endpoints under infrastructure endpoints like Actuator's is not recommended by the Spring
team, and doing so is likely to interfere with other configurations and cause behavior problems. While the severity for
this advisory is high, we expect this setup to rarely occur in production.
This CVE is related to CVE-2026-22731 and CVE-2026-22733, which addressed similar issues. |
| Spring Data REST can be configured to make an aggregate read-only by excluding the repository's save(…) method from export, for example via @RestResource(exported = false) .
In that case, the PUT , PATCH and DELETE methods on the aggregate's association resources are correctly withheld.
However, the POST method on collection-like association resources is not subject to the same check.
An attacker can send a POST request with a text/uri-list body to such an association resource, for example /orders/42/items .
Spring Data REST adds the referenced resources to the association and invokes the repository's save(…) method for the parent aggregate.
This persists the new association links despite the read-only configuration.
The application is vulnerable if all of the following are true:
A repository that is exported over REST excludes its save(…) method from export, either explicitly or by disabling the export of repository methods by default without re-exporting save(…) .
The domain type declares a writable, collection-like association whose target type is exported through a repository as well.
The attacker can reach the Spring Data REST endpoints.
Whether that requires authentication depends on the application.
On affected applications the integrity of aggregates intended to be read-only can be compromised. |
| Spring HATEOAS does not honour Jackson's @JsonProperty(access = Access.READ_ONLY) declaration when deserializing Collection+JSON ( application/vnd.collection+json ) and UBER ( application/vnd.uber+json ) request bodies.
Both media types reconstruct the domain object from the name/value pairs of the incoming representation using an internal, reflection-based property binder rather than Jackson's own bean deserializer.
That binder resolves each property's setter from the JavaBeans property descriptor and invokes it directly, applying only Jackson's @JsonIgnore and @JsonIgnoreProperties exclusions.
Properties declared read-only are not excluded, so a client-supplied value for such a property is accepted and written to the object.
As a result, a client able to submit a Collection+JSON or UBER request body can populate properties that the application declared as server-owned and expected to be ignored on input, such as a role, permission or account-state property.
The same payload submitted as application/json is handled by Jackson's bean deserializer, which correctly ignores those properties, so the exposure is specific to the two affected media types.
Affected applications are those that enable Collection+JSON or UBER hypermedia support and bind request bodies directly onto a domain type declaring a @JsonProperty(access = Access.READ_ONLY) property with a setter.
Applications using only the HAL or HAL-FORMS media types are not affected, as those do not use the affected binder on the deserialization path.
Applications that bind requests onto dedicated input DTOs without read-only properties are also not affected. |
| Spring Framework applications that use DataBinder 's allowedFields / disallowedFields
mechanism to restrict which properties may be set through data binding may be vulnerable to
a data binding rules bypass when targeting indexed data types.
Specifically, an application is vulnerable when all the following conditions are met:
The application uses Spring's data binding infrastructure to bind user-supplied request parameters onto a target object.
The application configures an exact disallowedFields pattern (or a restrictive
allowedFields pattern) to exclude one or more nested, map-keyed, or list-indexed properties
from binding.
The application does not configure any wildcard disallowedFields pattern, or no stricter allowedFields pattern.
When all conditions are met, an attacker can submit malicious form fields that will write
data on fields that are explicitly excluded from data binding by the application configuration. |