NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2025-22223: Spring Security Vulnerable to Authorization Bypass via Security Annotations

mediumCVSS 3.1 5.3GHSA-hh3m-g4qj-4835

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 Mar 24, 2025

Affected packages

org.springframework.security:spring-security-core

Ecosystem
Maven
Affected
>= 6.4.0, < 6.4.4
Fixed in
6.4.4
Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-core

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries