| CVE |
Vendors |
Products |
Updated |
CVSS v3.1 |
| 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. |
| Spring Boot's Redis auto-configuration does not perform hostname verification when
establishing an SSL connection to Redis. |
| Spring Boot Actuator's sanitization mishandles certain characters when running in a Turkish or Azerbaijani locale. |
| A client that sets validateResponse on PayloadValidatingInterceptor did not reject a response that failed schema validation.
The errors were logged and the response was returned to the application anyway, and the rest of the interceptor chain was skipped, including any interceptor declared before the validating one.
This issue only affects deployments where all the following are true:
The client declares a PayloadValidatingInterceptor with validateResponse set to true .
A response-securing interceptor, such as Wss4jSecurityInterceptor validating responses, is declared before that validating interceptor in the client's interceptor list.
As Wss4jSecurityInterceptor validates responses by default, a response that failed schema validation therefore reached the application with its WS-Security header never checked.
An attacker able to supply the response can bypass signature and encryption checks by making the payload schema-invalid.
Fixed versions reject such a response with a WebServiceValidationException . |
| When validation of an inbound WS-Security header failed, the SOAP fault returned to the sender used the message of the underlying exception as its fault string, telling an unauthenticated sender which check failed and why.
Because that message varies with the cause, a sender can also distinguish the failure modes of a message it submitted.
This issue only affects deployments where all the following are true:
Inbound WS-Security processing is performed by an AbstractWsSecurityInterceptor subclass, such as Wss4jSecurityInterceptor .
No custom EndpointExceptionResolver replaces the fault string built from the validation exception.
Fixed versions return the same fault string, Security processing failed , whatever the failure, and log the details instead.
A client relying on the previous fault string to tell failures apart will no longer be able to.
Configure an exceptionResolver to take over building the fault. |