CVE-2025-22223
Spring Security Vulnerable to Authorization Bypass via Security Annotations
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
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
5.3
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
- Record
CVE-2025-22223- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-290
- Updated
- 2026-11-02
EUVDEUVD-2025-7998
5.3
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
- Record
EUVD-2025-7998- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-hh3m-g4qj-4835
5.3
Spring Security Vulnerable to Authorization Bypass via Security Annotations
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
- Record
GHSA-hh3m-g4qj-4835- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-290
- Updated
- 2026-11-02
NVD
5.3
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
- Record
CVE-2025-22223- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-290
- Updated
- 2026-11-02
OSVGHSA-hh3m-g4qj-4835
5.3
Spring Security Vulnerable to Authorization Bypass via Security Annotations
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
- Record
GHSA-hh3m-g4qj-4835- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-290
- Updated
- 2026-11-02
OSVCLSA-2026-1775694712 No score
TuxCare security update for org.springframework.security (5 CVEs)
TuxCare rebuilt 4 org.springframework.security packages to address 5 CVEs. Fixed in 6.4.3-tuxcare.1.
- Record
CLSA-2026-1775694712- Updated
- 2026-11-02
Show 4 moreShow less
OSVCLSA-2026-1793733149 No score
TuxCare security update for org.springframework.security (1 CVE)
TuxCare rebuilt 2 org.springframework.security packages to address 1 CVE. Fixed in 6.0.8-tuxcare.6.
- Record
CLSA-2026-1793733149- Updated
- 2026-11-04
OSVCLSA-2026-1793887410 No score
TuxCare security update for org.springframework.security (1 CVE)
TuxCare rebuilt 2 org.springframework.security packages to address 1 CVE. Fixed in 6.2.8-tuxcare.7.
- Record
CLSA-2026-1793887410- Updated
- 2026-11-06
OSVCLSA-2026-1793890661 No score
TuxCare security update for org.springframework.security (1 CVE)
TuxCare rebuilt 2 org.springframework.security packages to address 1 CVE. Fixed in 6.3.10-tuxcare.22.
- Record
CLSA-2026-1793890661- Updated
- 2026-11-06
OSVCLSA-2026-1793892644 No score
TuxCare security update for org.springframework.security (1 CVE)
TuxCare rebuilt 2 org.springframework.security packages to address 1 CVE. Fixed in 6.2.7-tuxcare.9.
- Record
CLSA-2026-1793892644- Updated
- 2026-11-06
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.springframework.security:spring-security-coreMaven |
6.4.0 up to 6.4.4 | 6.4.4 |
org.springframework.security:spring-security-configTuxCare:Maven From an advisory covering 5 CVEs |
6.4.3 up to 6.4.3-tuxcare.1 | 6.4.3-tuxcare.1 |
org.springframework.security:spring-security-coreTuxCare:Maven From an advisory covering 5 CVEs |
6.4.3 up to 6.4.3-tuxcare.1 | 6.4.3-tuxcare.1 |
org.springframework.security:spring-security-cryptoTuxCare:Maven From an advisory covering 5 CVEs |
6.4.3 up to 6.4.3-tuxcare.1 | 6.4.3-tuxcare.1 |
org.springframework.security:spring-security-webTuxCare:Maven From an advisory covering 5 CVEs |
6.4.3 up to 6.4.3-tuxcare.1 | 6.4.3-tuxcare.1 |
org.springframework.security:spring-security-configTuxCare:Maven |
6.0.8 up to 6.0.8-tuxcare.6, plus listed versions 6.0.8-tuxcare.16.0.8-tuxcare.26.0.8-tuxcare.36.0.8-tuxcare.46.0.8-tuxcare.5 |
6.0.8-tuxcare.6 |
org.springframework.security:spring-security-coreTuxCare:Maven |
6.0.8 up to 6.0.8-tuxcare.6, plus listed versions 6.0.8-tuxcare.16.0.8-tuxcare.26.0.8-tuxcare.36.0.8-tuxcare.46.0.8-tuxcare.5 |
6.0.8-tuxcare.6 |
org.springframework.security:spring-security-configTuxCare:Maven |
6.2.8 up to 6.2.8-tuxcare.7, plus listed versions 6.2.8-tuxcare.16.2.8-tuxcare.26.2.8-tuxcare.36.2.8-tuxcare.46.2.8-tuxcare.56.2.8-tuxcare.6 |
6.2.8-tuxcare.7 |
org.springframework.security:spring-security-coreTuxCare:Maven |
6.2.8 up to 6.2.8-tuxcare.7, plus listed versions 6.2.8-tuxcare.16.2.8-tuxcare.26.2.8-tuxcare.36.2.8-tuxcare.46.2.8-tuxcare.56.2.8-tuxcare.6 |
6.2.8-tuxcare.7 |
org.springframework.security:spring-security-configTuxCare:Maven |
6.3.10 up to 6.3.10-tuxcare.22, plus listed versions 6.3.10-tuxcare.16.3.10-tuxcare.106.3.10-tuxcare.116.3.10-tuxcare.126.3.10-tuxcare.13 Show 16 moreShow less6.3.10-tuxcare.146.3.10-tuxcare.156.3.10-tuxcare.166.3.10-tuxcare.176.3.10-tuxcare.186.3.10-tuxcare.196.3.10-tuxcare.26.3.10-tuxcare.206.3.10-tuxcare.216.3.10-tuxcare.36.3.10-tuxcare.46.3.10-tuxcare.56.3.10-tuxcare.66.3.10-tuxcare.76.3.10-tuxcare.86.3.10-tuxcare.9 |
6.3.10-tuxcare.22 |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
org.springframework.security:spring-security-coreTuxCare:Maven |
6.3.10 up to 6.3.10-tuxcare.22, plus listed versions 6.3.10-tuxcare.16.3.10-tuxcare.106.3.10-tuxcare.116.3.10-tuxcare.126.3.10-tuxcare.13 Show 16 moreShow less6.3.10-tuxcare.146.3.10-tuxcare.156.3.10-tuxcare.166.3.10-tuxcare.176.3.10-tuxcare.186.3.10-tuxcare.196.3.10-tuxcare.26.3.10-tuxcare.206.3.10-tuxcare.216.3.10-tuxcare.36.3.10-tuxcare.46.3.10-tuxcare.56.3.10-tuxcare.66.3.10-tuxcare.76.3.10-tuxcare.86.3.10-tuxcare.9 |
6.3.10-tuxcare.22 |
org.springframework.security:spring-security-configTuxCare:Maven |
6.2.7 up to 6.2.7-tuxcare.9, plus listed versions 6.2.7-tuxcare.16.2.7-tuxcare.26.2.7-tuxcare.36.2.7-tuxcare.46.2.7-tuxcare.56.2.7-tuxcare.66.2.7-tuxcare.76.2.7-tuxcare.8 |
6.2.7-tuxcare.9 |
org.springframework.security:spring-security-coreTuxCare:Maven |
6.2.7 up to 6.2.7-tuxcare.9, plus listed versions 6.2.7-tuxcare.16.2.7-tuxcare.26.2.7-tuxcare.36.2.7-tuxcare.46.2.7-tuxcare.56.2.7-tuxcare.66.2.7-tuxcare.76.2.7-tuxcare.8 |
6.2.7-tuxcare.9 |
org.springframework.security:spring-security-coreMaven |
6.4.0 up to 6.4.4, plus listed versions 6.4.16.4.26.4.3 |
6.4.4 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | 1ucky7/cve-2025-22223-demo-1.0.0 | 2025-04-03 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases | ||
| affected, aliases | OSV | |
| affected | ||
| affected, aliases, facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-22223 is a medium vulnerability (CVSS 5.3) in Spring Security, published March 24, 2025. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.51%, the 43rd percentile. Fixed in org.springframework.security:spring-security-core 6.4.4.