What’s Vulnerable › Vulnerabilities
CVE-2023-22602: Apache Shiro before 1.11.0, when used with Spring Boot 2.6+, may allow authentication bypass through a specially crafted HTTP request
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-01-14 · updated 2026-06-17
- Weakness: CWE-436
Description
When using Apache Shiro before 1.11.0 together with Spring Boot 2.6+, a specially crafted HTTP request may cause an authentication bypass. The authentication bypass occurs when Shiro and Spring Boot are using different pattern-matching techniques. Both Shiro and Spring Boot < 2.6 default to Ant style pattern matching. Mitigation: Update to Apache Shiro 1.11.0, or set the following Spring Boot configuration value: `spring.mvc.pathmatch.matching-strategy = ant_path_matcher`
Affected products
- Apache Software Foundation Apache Shiro: before 1.11.0 — fixed in 1.11.0
- Spring Boot: 2.6.0-+
How to fix
Upgrade to a fixed version: Apache Software Foundation Apache Shiro 1.11.0. Check the vendor advisory for mitigations.
References
- https://lists.apache.org/thread/dzj0k2smpzzgj6g666hrbrgsrlf9yhkl
- https://lists.apache.org/thread/dzj0k2smpzzgj6g666hrbrgsrlf9yhkl
- https://security.netapp.com/advisory/ntap-20230302-0001/
Get alerted when CVE-2023-22602 or the next vulnerability affects your stack