# 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 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.66%, higher than 77% of CVEs (2026-12-01)
- Published: 2023-01-14T09:33:39.775Z
- Modified: 2026-06-17T05:35:43.130Z
- Also known as: GHSA-7cxr-h8wm-fg4c
- Weaknesses: CWE-436
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## 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`

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Shiro: no versions given (not affected: before 1.11.0)
- org.apache.shiro:shiro-root (Maven): before 1.11.0
- apache shiro: before 1.11.0
- vmware spring_boot: 2.6.0

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://lists.apache.org/thread/dzj0k2smpzzgj6g666hrbrgsrlf9yhkl> (mailing-list, vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20230302-0001/>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-22602> (advisory)
- <https://github.com/apache/shiro> (package)

## Sources

- CVE List: [CVE-2023-22602](https://www.cve.org/CVERecord?id=CVE-2023-22602), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-7cxr-h8wm-fg4c](https://github.com/advisories/GHSA-7cxr-h8wm-fg4c), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2023-22602](https://nvd.nist.gov/vuln/detail/CVE-2023-22602), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-22602 · Whole record: https://cve.day/CVE-2023-22602.json · Rebuilt by cve.day 2026-11-25T22:58:21.605Z
