CVE-2023-20860
HIGH 7.5CVSS 3.1Spring Framework is vulnerable to security bypass via mvcRequestMatcher pattern mismatch
Spring Framework running version 6.0.0 - 6.0.6 or 5.3.0 - 5.3.25 using "**" as a pattern in Spring Security configuration with the mvcRequestMatcher creates a mismatch in pattern matching between Spring Security and Spring MVC, and the potential for a security bypass.
- Published
- 27 Mar 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@vmware.com
- NVD status
- Modified
- Also known as
- GHSA-7phw-cxx7-q9vq
- Sources
- NVDJSONOSV GHSA-7phw-cxx7-q9vqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
>= 5.3.0, < 5.3.26 | 5.3.26 |
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
>= 6.0.0, < 6.0.7 | 6.0.7 |
| OSV | Maven | org.springframework:spring | >= 6.0.0, < 6.0.7 | 6.0.7 |
| OSV | Maven | org.springframework:spring | >= 5.3.0, < 5.3.26 | 5.3.26 |
| OSV | Maven | org.springframework:spring-webmvc | >= 6.0.0, < 6.0.7 | 6.0.7 |
| OSV | Maven | org.springframework:spring-webmvc | >= 5.3.0, < 5.3.26 | 5.3.26 |
References
- https://security.netapp.com/advisory/ntap-20230505-0006/ · WEB
- https://spring.io/security/cve-2023-20860 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-20860 · ADVISORY
- https://github.com/spring-projects/spring-framework/commit/202fa5cdb3a3d0cfe6967e85fa167d978244f28a · WEB
- https://github.com/spring-projects/spring-framework · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 27 Mar 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Mar 2023)