Skip to main content

Protection Mechanism Failure in org.springframework.security:spring-security-core

CVE-2025-41232

  • org.springframework.security:spring-security-core
Severity High
Score 9.1/10

Summary

Spring Security Aspects may not correctly detect method security annotations on private methods, potentially leading to authorization bypasses. An application may be affected if both of the following conditions are met: a) the configuration includes `@EnableMethodSecurity(mode = ASPECTJ)` and the "spring-security-aspects" module, b) one or more private methods are annotated with Spring Security method-level annotations. Under these conditions, the affected methods may be invoked without the expected authorization checks. This vulnerability affects org.springframework.security:spring-security-core package versions 6.4.x prior to 6.4.6, 6.5.x prior to 6.5.0.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • NONE

CWE-693 - Protection Mechanism Failure

The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.

Advisory Timeline

  • Published