All reports
Medium

Spring Security Vulnerable to Authorization Bypass via Security Annotations

Affected versions

Affected versions
>= 6.4.0, < 6.4.4
Fixed version
6.4.4
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-22223

Probability of exploitation in the next 30 days: 0.51%

FIRST EPSS · 2026-11-20

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

Links