CVE-2025-22223
Spring Security Vulnerable to Authorization Bypass via Security Annotations
5.3
MEDIUM
CVSS 3.1
EPSS 0.03%
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
How to fix CVE-2025-22223
To remediate CVE-2025-22223, upgrade the affected package to a fixed version below.
- —upgrade to 6.4.4 or later
Is CVE-2025-22223 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- >= 6.4.0, < 6.4.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |