CVE-2025-22223: Spring Security - Authorization Bypass
- Cve: CVE-2025-22223
- Name: Spring Security - Authorization Bypass
- 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
- Impact: Attackers may bypass authorization controls, gaining unauthorized access to protected methods or resources.
- Remediation: Update to the latest version of Spring Security where the issue is fixed.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.00506
- Epss percentile: 0.44037
- Assignee: [email protected]
- Published at: 2025-03-24T18:15:22Z
- Age in days: 610
- Modified at: 2026-06-17T08:45:42Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-22223
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-290 | Authentication Bypass by Spoofing |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/1ucky7/cve-2025-22223-demo-1.0.0 | poc-in-github | 2025-04-03 |
References
| Url | Source | Tags |
|---|---|---|
| https://spring.io/security/cve-2025-22223 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| vmware:spring_security | = 6.4.0-6.4.3 | no | cna_alias | /v1/products/vmware/spring_security |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| spring-projects/spring-security | commit, package | yes | /v1/repositories/spring-projects/spring-security |
Index
- Repositories: 83
- Repositories high signal: 60
- Checked, none or zero: packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-04-03
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts