Medium severity · published Mar 24, 2025
CVE-2025-22223
Spring Security 6.4.0 - 6.4.3 may not correctly locate method security annotations on parameterized types or methods
5.3
CVSS
0.5%
EPSS
No
On KEV
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
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 43% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SS
Spring Security · Spring
6.4.0-6.4.3 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-22223
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-22223
spring.io
https://spring.io/security/cve-2025-22223
More from Spring Security
9.1
CVE-2026-59270
Spring Security embedded UnboundID LDAP server exposes well-known administrative bind DN on all network interfaces
9.1
CVE-2025-41232
CVE-2025-41232: Spring Security authorization bypass for method security annotations on private methods
8.1
CVE-2026-47838
Unauthorized User Impersonation when Using X.509 Client Certificates
8.1
CVE-2026-22747
Unauthorized User Impersonation when Using X.509 Client Certificates
8.1
CVE-2026-22733
Authentication Bypass under Actuator CloudFoundry endpoints
