CVE-2026-23903
Apache Shiro: Auth bypass when accessing static files only on case-insensitive filesystems
Auswirkung
Authentication Bypass by Alternate Name vulnerability in Apache Shiro. This issue affects Apache Shiro: before 2.0.7. Users are recommended to upgrade to version 2.0.7, which fixes the issue. The issue only effects static files. If static files are served from a case-insensitive filesystem, such as default macOS setup, static files may be accessed by varying the case of the filename in the request. If only lower-case (common default) filters are present in Shiro, they may be bypassed this way. Shiro 2.1.0 and later has a new parameters to remediate this issue shiro.ini: filterChainResolver.caseInsensitive = true application.properties: shiro.caseInsensitive=true Shiro 3.0.0 and later makes this the default in shiro.ini-based configurations. Shiro 3.0.1 and later makes this the default in all configurations, including programmatic and Spring / Spring Boot.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| maven | org.apache.shiro:shiro-spring | <= 2.0.6 | 2.1.0 |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| Apache | Shiro | vor 2.0.7 |
| Apache Software Foundation | Apache Shiro | vor 2.0.7 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://lists.apache.org/thread/5jjf0hnjcol58z2m5y255c7scz1lnp8k
- http://www.openwall.com/lists/oss-security/2026/02/08/1
- https://github.com/advisories/GHSA-c244-p6m5-vqj6
- https://nvd.nist.gov/vuln/detail/CVE-2026-23903
- https://github.com/apache/shiro/commit/3b9638b957495004599aeaf24ba8949e309f26e8