Every CVE Search/ Get API key

CVE-2025-22223

Spring Security Vulnerable to Authorization Bypass via Security Annotations

5.3 MediumPublic exploitFix available

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

0.51%Up 0.5 points since Mar 25, 2025
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
org.springframework.security:spring-security-core
Maven
6.4.0 up to 6.4.4
6.4.4
org.springframework.security:spring-security-config
TuxCare: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-core
TuxCare: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-crypto
TuxCare: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-web
TuxCare: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-config
TuxCare: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-core
TuxCare: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-config
TuxCare: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-core
TuxCare: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-config
TuxCare: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 less
6.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
Affected packages
PackageAffectedFixed
org.springframework.security:spring-security-core
TuxCare: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 less
6.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-config
TuxCare: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-core
TuxCare: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-core
Maven
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.

Public exploits
SourceLinkDate
PoC in GitHub1ucky7/cve-2025-22223-demo-1.0.02025-04-03

History

History
RecordedChangedSources
affected, aliases
affected, aliasesOSV
affected
affected, aliases, factsOSV
first indexedCVE 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.

References

MoveEnter Open