Spring Framework vulnerabilities

58 vulnerabilities

Known vulnerabilities in Spring Framework, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

RoutineCVE-2026-59431spring · spring framework +1 moreSpring Framework Denial of Service via SpEL Collection SelectionApplications 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.CVSS5.3MediumEPSS0.65%RoutineCVE-2026-59430spring · spring framework +1 moreSpring Framework Unintended Constructor and Method Invocation via Type Conversion in SpELApplications 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() .CVSS5.6MediumEPSS0.49%RoutineCVE-2026-59429spring · spring framework +1 moreSpring Framework Denial of Service via PathPatternApplications 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.CVSS3.7LowEPSS0.59%RoutineCVE-2026-59419spring · spring framework +1 moreSpring Framework Denial of Service with HTTP client observationsSpring 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.CVSS5.9MediumEPSS0.65%RoutineCVE-2026-59418spring · spring framework +1 moreSpring Framework Denial of Service with streaming text decoding in WebFluxSpring 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.CVSS5.9MediumEPSS0.54%RoutineCVE-2026-59398spring · spring framework +1 moreSpring Framework Denial of Service with Parameter-based Content NegotiationSpring 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.CVSS5.3MediumEPSS0.65%RoutineCVE-2026-59394spring · spring framework +1 moreSpring Framework Open Redirect in UrlHandlerFilterSpring 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.CVSS5.4MediumEPSS0.33%RoutineCVE-2026-59393spring · spring framework +1 moreSpring Framework maxInMemorySize Bypassed in Jaxb2DecoderSpring 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.CVSS4.3MediumEPSS0.48%RoutineCVE-2026-59392spring · spring frameworkSpring Framework STOMP Message Disclosure with SockJS TransportSpring 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.CVSS5.7MediumEPSS0.55%RoutineCVE-2026-59391spring · spring frameworkSpring Framework Message Smuggling with External STOMP BrokerSpring 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.CVSS5.9MediumEPSS0.40%RoutineCVE-2026-59390spring · spring framework +1 moreSpring Framework No Origin Validation If WebSocket Handling Configured DirectlySpring 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.CVSS5.9MediumEPSS0.38%RoutineCVE-2026-59389spring · spring framework +1 moreSpring Framework multipart part smuggling vulnerabilitySpring 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.CVSS5.3MediumEPSS0.41%PrioritiseCVE-2026-59374spring · spring framework +1 moreSpring Framework Data Binding vulnerability on indexed data typesSpring 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.CVSS7.5HighEPSS0.32%RoutineCVE-2026-59314spring · spring framework +4 moreSpring Framework response splitting in ContentDispositionApplications that build a Content-Disposition header value from untrusted input may be vulnerable to HTTP response splitting when the input is a malicious file name. Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - 6.2.19 Spring Framework 6.1.0 - 6.1.28 Spring Framework 6.0.0 - 6.0.30 Spring Framework 5.3.0 - 5.3.49 Spring Framework 5.2.25.RELEASE and earlierCVSS3.7LowEPSS0.20%PrioritiseCVE-2026-59313spring · spring framework +3 moreServer Sent Event stream corruption in Spring MVC functional web frameworkSpring MVC applications using the functional web framework are vulnerable to stream corruption when using Server-Sent Events (SSE). Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - 6.2.19 Spring Framework 6.1.0 - 6.1.28 Spring Framework 6.0.0 - 6.0.30 Spring Framework 5.3.0 - 5.3.49CVSS9.8CriticalEPSS0.43%PrioritiseCVE-2026-59283spring · spring framework +4 moreSpring Framework Safety Guard Bypass via SpEL Expression CompilationApplications that evaluate Spring Expression Language (SpEL) expressions using SimpleEvaluationContext may be vulnerable to a safety guard bypass when the SpEL expression compiler is active. Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - 6.2.19 Spring Framework 6.1.0 - 6.1.28 Spring Framework 6.0.0 - 6.0.30 Spring Framework 5.3.0 - 5.3.49 Spring Framework 5.2.25.RELEASE and earlierCVSS9.1CriticalEPSS0.37%PrioritiseCVE-2026-59282spring · spring framework +4 moreSpring Framework Denial of Service via Unbounded List Growth in Data BindingSpring Framework applications that use Spring's data binding infrastructure to apply user-supplied property paths onto a target object may be vulnerable to a Denial of Service (DoS) attack. Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - 6.2.19 Spring Framework 6.1.0 - 6.1.28 Spring Framework 6.0.0 - 6.0.30 Spring Framework 5.3.0 - 5.3.49 Spring Framework 5.2.25.RELEASE and earlierCVSS7.5HighEPSS0.32%RoutineCVE-2026-59281spring · spring framework +48 moreSpring Framework Cross-site Scripting via EscapedErrorsSpring MVC and WebFlux applications that obtain a data-binding Errors instance with HTML escaping enabled and then render field errors using the no-argument Errors.getFieldErrors() or Errors.getFieldError() accessors are vulnerable to arbitrary HTML/JavaScript code injection, potentially resulting in a reflected cross-site scripting (XSS) vulnerability. Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - 6.2.19 Spring Framework 6.1.0 - 6.1.28 Spring Framework 6.0.0 - 6.0.30 Spring Framework 5.3.0 - 5.3.49 Spring Framework 5.2.25.RELEASE and earlierCVSS6.1MediumEPSS0.18%RoutineCVE-2026-59280spring · spring framework +3 moreSpring Framework Path Traversal via Backslash in SpringTemplateLoaderApplications using Spring Framework's FreeMarker integration may be vulnerable to a path traversal attack when a controller returns a view name derived from untrusted input and FreeMarker is configured to resolve templates through SpringTemplateLoader. Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - 6.2.19 Spring Framework 6.1.0 - 6.1.28 Spring Framework 6.0.0 - 6.0.30 Spring Framework 5.3.0 - 5.3.49 Spring Framework 5.2.25.RELEASE and earlierCVSS4.3MediumEPSS0.24%PrioritiseCVE-2026-47893spring · spring framework +4 moreSpring Framework Request Headers Included in Exception Reasons in HandshakeWebsocketServiceA Spring WebFlux application that supports WebSocket connections may expose indirectly sensitive user information by including request headers in an exception reason. Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - 6.2.19 Spring Framework 6.1.0 - 6.1.28 Spring Framework 6.0.0 - 6.0.30 Spring Framework 5.3.0 - 5.3.49 Spring Framework 5.2.25.RELEASE and earlierCVSS7.5HighEPSS0.27%