Vulnerability in Spring Security
CVE-2025-22223
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
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.005, 43.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Spring Security — versions 6.4.0-6.4.3
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- 1ucky7/cve-2025-22223-demo-1.0.0 (last pushed 2025-04-03): cve-2025-22223 漏洞复现
Also mentioned in 2 other repositories (nomi-sec/PoC-in-GitHub, plzheheplztrying/cve_monitor). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
This CVE has public exploit evidence. See the latest CVEs with public exploits.