Spring 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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.springframework:spring | >= 6.0.0, < 6.0.7, >= 5.3.0, < 5.3.26 | 6.0.7, 5.3.26 |
| Java / Kotlin (Maven) | org.springframework:spring-webmvc | >= 6.0.0, < 6.0.7, >= 5.3.0, < 5.3.26 | 6.0.7, 5.3.26 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N- Weakness (CWE)
-- Platform
- Java / Kotlin (Maven)
- Package
org.springframework:spring, org.springframework:spring-webmvc- Disclosed
- 28.03.2023
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-7phw-cxx7-q9vq - CC BY 4.0
Vulnerability history: org.springframework:spring-webmvc
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 27
- First → latest
- 10.2018 08.2026
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- Critical 4
- High 8
- Medium 13
- Low 2
Disclosures per year
- 2018: 1
- 2019: 0
- 2020: 2
- 2021: 0
- 2022: 5
- 2023: 2
- 2024: 3
- 2025: 1
- 2026: 13
-
Spring Framework is vulnerable to security bypass via mvcRequestMatcher pattern mismatch this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.