CVE-2025-22223 Spring Security Vulnerable to Authorization Bypass via Security Annotations
MediumCVSS 5.3
EPSS 0.51%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
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 methods
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| org.springframework.security/spring-security-core(Maven) | = 6.4.0; = 6.4.1; = 6.4.2; = 6.4.3 +1 more | 6.4.4 | Fixed |
| Spring Security | = 6.4.0-6.4.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.springframework.security/spring-security-core(Maven) | >= 6.4.0, < 6.4.4 | 6.4.4 |
| org.springframework.security/spring-security-core(Maven) | = 6.4.0 | No fix listed |
| org.springframework.security/spring-security-core(Maven) | = 6.4.1 | No fix listed |
| org.springframework.security/spring-security-core(Maven) | = 6.4.2 | No fix listed |
| org.springframework.security/spring-security-core(Maven) | = 6.4.3 | No fix listed |
| Spring Security | = 6.4.0-6.4.3 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- spring.io
- github.com