Spring vulnerabilities
247 vulnerabilities
Known vulnerabilities in Spring products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 48 products.
Products
48- Spring Framework45 vulnerabilities
- Spring Security29 vulnerabilities
- Spring AI18 vulnerabilities
- Spring Integration16 vulnerabilities
- Spring Boot15 vulnerabilities
- Spring Cloud Config10 vulnerabilities
- Spring For Graphql9 vulnerabilities
- Spring AMQP8 vulnerabilities
- Spring Cloud Function8 vulnerabilities
- Spring Web Services8 vulnerabilities
- Reactor Netty7 vulnerabilities
- Spring Data REST6 vulnerabilities
- Spring For Apache Kafka6 vulnerabilities
- Spring Tools For Eclipse6 vulnerabilities
- Spring Cloud Stream5 vulnerabilities
- Micrometer4 vulnerabilities
- Spring4 vulnerabilities
- Spring Batch4 vulnerabilities
- Spring Data Commons4 vulnerabilities
- Spring Hateoas3 vulnerabilities
- Reactor Core2 vulnerabilities
- Spring Authorization Server2 vulnerabilities
- Spring Cloud Gateway2 vulnerabilities
- Spring Data JPA2 vulnerabilities
- Spring Data Mongodb2 vulnerabilities
- Spring Grpc2 vulnerabilities
- Spring LDAP2 vulnerabilities
- Spring Security Oauth2 vulnerabilities
- Spring Tools For Vscode / Cursor / Theia2 vulnerabilities
- Spring Web Flow2 vulnerabilities
- CLI Vscode Extension1 vulnerabilities
- Cloud Gateway1 vulnerabilities
- Micrometer Tracing1 vulnerabilities
- Spring Cloud1 vulnerabilities
- Spring Cloud Commons1 vulnerabilities
- Spring Cloud Contract1 vulnerabilities
- Spring Cloud Data Flow1 vulnerabilities
- Spring Cloud Sleuth1 vulnerabilities
- Spring Data JDBC1 vulnerabilities
- Spring Data Keyvalue1 vulnerabilities
- Spring Data R2Dbc1 vulnerabilities
- Spring Data Redis1 vulnerabilities
- Spring Data Relational1 vulnerabilities
- Spring For Apache Pulsar1 vulnerabilities
- Spring Foundation1 vulnerabilities
- Spring REST Docs1 vulnerabilities
- Spring Retry1 vulnerabilities
- Spring Statemachine1 vulnerabilities
CVE-2025-41232org.springframework.securityspring-security-aspects+2
EPSS score0.62%
Spring Security Aspects may not correctly locate method security annotations on private methods. This can cause an authorization bypass.
Your application may be affected by this if the following are true:
* You are using @EnableMethodSecurity(mode=ASPECTJ) and spring-security-aspects, and
* You have Spring Security method annotations on a private method
In that case, the target method may be able to be invoked without proper authorization.
You are not affected if:
* You are not using @EnableMethodSecurity(mode=ASPECTJ) or spring-security-aspects, or
* You have no Spring Security-annotated private methodsCVE-2025-41243org.springframework.cloudspring-cloud-gateway-server-webflux+1EPSS score3.55%
Spring Cloud Gateway Server Webflux may be vulnerable to Spring Environment property modification.
An application should be considered vulnerable when all the following are true:
* The application is using Spring Cloud Gateway Server Webflux (Spring Cloud Gateway Server WebMVC is not vulnerable).
* Spring Boot actuator is a dependency.
* The Spring Cloud Gateway Server Webflux actuator web endpoint is enabled via management.endpoints.web.exposure.include=gateway.
* The actuator endpoints are available to attackers.
* The actuator endpoints are unsecured.CVE-2025-22235chainguardcamunda-zeebe-8.6+23EPSS score0.43%
EndpointRequest.to() creates a matcher for null/** if the actuator endpoint, for which the EndpointRequest has been created, is disabled or not exposed.
Your application may be affected by this if all the following conditions are met:
* You use Spring Security
* EndpointRequest.to() has been used in a Spring Security chain configuration
* The endpoint which EndpointRequest references is disabled or not exposed via web
* Your application handles requests to /null and this path needs protection
You are not affected if any of the following is true:
* You don't use Spring Security
* You don't use EndpointRequest.to()
* The endpoint which EndpointRequest.to() refers to is enabled and is exposed
* Your application does not handle requests to /null or this path does not need protectionCVE-2025-22223org.springframework.securityspring-security-core+1EPSS score0.51%
Spring Security 6.4.0 - 6.4.3 may not correctly locate method security annotations on parameterized types or methods. This may cause an authorization bypass.
You are not affected if you are not using @EnableMethodSecurity, or
you do not have method security annotations on parameterized types or methods, or all method security annotations are attached to target methodsCVE-2025-22234org.springframework.securityspring-security-core+1EPSS score0.39%
The fix applied in CVE-2025-22228 inadvertently broke the timing attack mitigation implemented in DaoAuthenticationProvider. This can allow attackers to infer valid usernames or other authentication behavior via response-time differences under certain configurations.CVE-2025-22233chainguardapache-activemq-5.19+54EPSS score0.43%
CVE-2024-38820 ensured Locale-independent, lowercase conversion for both the configured disallowedFields patterns and for request parameter names. However, there are still cases where it is possible to bypass the disallowedFields checks.
Affected Spring Products and Versions
Spring Framework:
* 6.2.0 - 6.2.6
* 6.1.0 - 6.1.19
* 6.0.0 - 6.0.27
* 5.3.0 - 5.3.42
* Older, unsupported versions are also affected
Mitigation
Users of affected versions should upgrade to the corresponding fixed version.
Affected version(s)Fix Version Availability 6.2.x
6.2.7
OSS6.1.x
6.1.20
OSS6.0.x
6.0.28
Commercial https://enterprise.spring.io/ 5.3.x
5.3.43
Commercial https://enterprise.spring.io/
No further mitigation steps are necessary.
Generally, we recommend using a dedicated model object with properties only for data binding, or using constructor binding since constructor arguments explicitly declare what to bind together with turning off setter binding through the declarativeBinding flag. See the Model Design section in the reference documentation.
For setting binding, prefer the use of allowedFields (an explicit list) over disallowedFields.
Credit
This issue was responsibly reported by the TERASOLUNA Framework Development Team from NTT DATA Group Corporation.CVE-2025-22232springspring cloud configEPSS score0.32%
Spring Cloud Config Server may not use Vault token sent by clients using a X-CONFIG-TOKEN header when making requests to Vault.
Your application may be affected by this if the following are true:
* You have Spring Vault on the classpath of your Spring Cloud Config Server and
* You are using the X-CONFIG-TOKEN header to send a Vault token to the Spring Cloud Config Server for the Config Server to use when making requests to Vault and
* You are using the default Spring Vault SessionManager implementation LifecycleAwareSessionManager or a SessionManager implementation that persists the Vault token such as SimpleSessionManager.
In this case the SessionManager persists the first token it retrieves and will continue to use that token even if client requests to the Spring Cloud Config Server include a X-CONFIG-TOKEN header with a different value.
Affected Spring Products and Versions
Spring Cloud Config:
* 2.2.1.RELEASE - 4.2.1
Mitigation
Users of affected versions should upgrade to the corresponding fixed version.
Affected version(s)Fix versionAvailability4.2.x4.2.2OSS4.1.x4.1.6OSS4.0.x4.0.10Commercial3.1.x3.1.10Commercial3.0.x4.1.6OSS2.2.x4.1.6OSS
NOTE: Spring Cloud Config 3.0.x and 2.2.x are no longer under open source or commercial support. Users of these versions are encouraged to upgrade to a supported version.
No other mitigation steps are necessary.CVE-2025-22228chainguardcamunda-zeebe-8.6+34EPSS score0.61%
BCryptPasswordEncoder.matches(CharSequence,String) will incorrectly return true for passwords larger than 72 characters as long as the first 72 characters are the same.CVE-2020-5398chainguardmysql-8.0+42EPSS score88.77%
In Spring Framework, versions 5.2.x prior to 5.2.3, versions 5.1.x prior to 5.1.13, and versions 5.0.x prior to 5.0.16, an application is vulnerable to a reflected file download (RFD) attack when it sets a "Content-Disposition" header in the response where the filename attribute is derived from user supplied input.CVE-2020-5397ubuntulibspring-java+30EPSS score2.55%
Spring Framework, versions 5.2.x prior to 5.2.3 are vulnerable to CSRF attacks through CORS preflight requests that target Spring MVC (spring-webmvc module) or Spring WebFlux (spring-webflux module) endpoints. Only non-authenticated endpoints are vulnerable because preflight requests should not include credentials and therefore requests should fail authentication. However a notable exception to this are Chrome based browsers when using client certificates for authentication since Chrome sends TLS client certificates in CORS preflight requests in violation of spec requirements. No HTTP body can be sent or received as a result of this attack.CVE-2024-37084org.springframework.cloudspring-cloud-skipper+2EPSS score35.21%
In Spring Cloud Data Flow versions prior to 2.11.4, a malicious user who has access to the Skipper server api can use a crafted upload request to write an arbitrary file to any location on the file system which could lead to compromising the serverCVE-2024-38821chainguardapache-nifi+23EPSS score1.74%
Spring WebFlux applications that have Spring Security authorization rules on static resources can be bypassed under certain circumstances.
For this to impact an application, all of the following must be true:
* It must be a WebFlux application
* It must be using Spring's static resources support
* It must have a non-permitAll authorization rule applied to the static resources supportCVE-2024-38829chainguardapache-nifi+9EPSS score0.37%
A vulnerability in Spring LDAP allows data exposure for case sensitive comparisons.This issue affects Spring LDAP: from 2.4.0 through 2.4.3, from 3.0.0 through 3.0.9, from 3.1.0 through 3.1.7, from 3.2.0 through 3.2.7, AND all versions prior to 2.4.0.
The usage of String.toLowerCase() and String.toUpperCase() has some Locale dependent exceptions that could potentially result in unintended columns from being queried
Related to CVE-2024-38820 https://spring.io/security/cve-2024-38820CVE-2024-38816chainguardapache-activemq-5.19+32EPSS score14.72%
Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running.
Specifically, an application is vulnerable when both of the following are true:
* the web application uses RouterFunctions to serve static resources
* resource handling is explicitly configured with a FileSystemResource location
However, malicious requests are blocked and rejected when any of the following is true:
* the Spring Security HTTP Firewall https://docs.spring.io/spring-security/reference/servlet/exploits/firewall.html is in use
* the application runs on Tomcat or JettyCVE-2024-38810org.springframework.securityspring-security-core+2EPSS score0.46%
Missing Authorization When Using @AuthorizeReturnObject in Spring Security 6.3.0 and 6.3.1 allows attacker to render security annotations inaffective.CVE-2024-38828chainguardapache-activemq-5.19+15EPSS score0.72%
Spring MVC controller methods with an @RequestBody byte[] method parameter are vulnerable to a DoS attack.CVE-2024-38808chainguardapache-nifi+12EPSS score0.57%
In Spring Framework versions 5.3.0 - 5.3.38 and older unsupported versions, it is possible for a user to provide a specially crafted Spring Expression Language (SpEL) expression that may cause a denial of service (DoS) condition.
Specifically, an application is vulnerable when the following is true:
* The application evaluates user-supplied SpEL expressions.CVE-2024-38807debianlibspring-java+4EPSS score0.12%
Applications that use spring-boot-loader or spring-boot-loader-classic and contain custom code that performs signature verification of nested jar files may be vulnerable to signature forgery where content that appears to have been signed by one signer has, in fact, been signed by another.CVE-2024-22233org.springframeworkspring-core+2EPSS score1.05%
In Spring Framework versions 6.0.15 and 6.1.2, it is possible for a user to provide specially crafted HTTP requests that may cause a denial-of-service (DoS) condition.
Specifically, an application is vulnerable when all of the following are true:
* the application uses Spring MVC
* Spring Security 6.1.6+ or 6.2.1+ is on the classpath
Typically, Spring Boot applications need the org.springframework.boot:spring-boot-starter-web and org.springframework.boot:spring-boot-starter-security dependencies to meet all conditions.CVE-2024-22243chainguardkayenta-2025.4+7EPSS score3.97%
Applications that use UriComponentsBuilder to parse an externally provided URL (e.g. through a query parameter) AND perform validation checks on the host of the parsed URL may be vulnerable to a open redirect https://cwe.mitre.org/data/definitions/601.html attack or to a SSRF attack if the URL is used after passing validation checks.