5.3medium
Spring Security Vulnerable to Authorization Bypass via Security Annotations
- Severity
- 5.3medium CVSS:3.1 by vmware
- Exploit likelihood
- 0.58% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- vmware
- Also known as
- GHSA-hh3m-g4qj-4835
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Spring Spring Security | 6.4.0-6.4.3 | CVE List |
| org.springframework.security:spring-security-core (Maven) | from 6.4.0 before 6.4.4 | GitHub Advisory Database |
All scores
| vmware | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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
NVD (es)
Es posible que Spring Security 6.4.0 - 6.4.3 no ubique correctamente las anotaciones de seguridad de métodos en tipos o métodos parametrizados. Esto puede provocar una omisión de autorización. Esto no se ve afectado si no utiliza @EnableMethodSecurity, si no tiene anotaciones de seguridad de métodos en tipos o métodos parametrizados, o si todas las anotaciones de seguridad de métodos están asociadas a los métodos de destino.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-22223 changed 2025-03-24 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hh3m-g4qj-4835 changed 2026-08-07 | CC-BY-4.0 |
| NVD | CVE-2025-22223 changed 2026-06-17 | Public domain |