The Spring Framework annotation detection mechanism may not correctly resolve annotations on methods within type hierarchies with a parameterized super type with unbounded generics. This can be an issue if such annotations are used for authorization decisions.
Your application may be affected by this if you are using Spring Securitys @EnableMethodSecurity feature.
You are not affected by this if you are not using @EnableMethodSecurity or if you do not use security annotations on methods in generic superclasses or generic interfaces.
This CVE is published in conjunction with CVE-2025-41248 https://spring.io/security/cve-2025-41248 .
The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| HawtIO HawtIO 4.3.0 | RedHat | org.springframework/spring-core | * |
| HawtIO HawtIO 4.3.0 | RedHat | spring-core | * |
| Red Hat build of Apache Camel 4.10.7 for Spring Boot 3.4.10 | RedHat | org.springframework/spring-core | * |
| Red Hat build of Apache Camel 4.10.7 for Spring Boot 3.4.10 | RedHat | spring-core | * |
| Red Hat build of Apache Camel 4.10.7 for Spring Boot 3.4.10 | RedHat | spring-core-test | * |
| Red Hat OpenShift Dev Spaces (RHOSDS) 3.24 | RedHat | devspaces/pluginregistry-rhel9:sha256:080273ea4bc751a33eb7451aab099b40eab46ca2b90685e661f478e45c962b71 | * |