CVE-2025-22223: Medium severity maven/org.springframework.security:spring-security-core vulnerability

Published Mar 24, 2025
·
Updated

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

Affected Software

1 affected componentFixes available
maven/org.springframework.security:spring-security-core>=6.4.0<6.4.4
6.4.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.springframework.security:spring-security-core to a version that resolves this vulnerability.

    Fixed in 6.4.4

Event History

Mar 24, 2025
CVE Published
via MITRE·05:42 PM
Data Sourced
via MITRE·05:42 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:31 PM

Frequently Asked Questions

1

What is the severity of CVE-2025-22223?

CVE-2025-22223 has a high severity due to the potential for authorization bypass.

2

How do I fix CVE-2025-22223?

To fix CVE-2025-22223, upgrade Spring Security to version 6.4.4 or later.

3

Which versions of Spring Security are affected by CVE-2025-22223?

Spring Security versions 6.4.0 to 6.4.3 are affected by CVE-2025-22223.

4

Does CVE-2025-22223 affect applications without @EnableMethodSecurity?

No, applications that do not use @EnableMethodSecurity are not affected by CVE-2025-22223.

5

What kind of vulnerability is CVE-2025-22223?

CVE-2025-22223 is an authorization bypass vulnerability related to method security annotations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203