CVE-2025-22223: spring spring security Authentication Bypass by Spoofing
Vulnerability summary
CVE-2025-22223 is a medium (CVSS 5.3) Authentication Bypass by Spoofing vulnerability in spring spring security. EPSS estimates a 0.51% chance of exploitation in the next 30 days, higher than 41.8% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 24-03-2025PublishedVulnerability first disclosed.
- 24-03-2025Last modifiedVulnerability information updated.
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 metrics
3 scores · 3 sources · 1 version- OSV · MavenEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.51%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
+0.02 pp
From 0.49% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Org.springframework.security1 product
- spring-security-core≥ 6.4.0, < 6.4.4
Spring1 product
- spring security6.4.0-6.4.3
2 vendors · 2 products