Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-23903 EUVD-2026-6903GHSA-c244-p6m5-vqj6

Apache Shiro: Auth bypass when accessing static files only on case-insensitive filesystems

Published Feb 9, 2026 · Updated Nov 10, 2026 · Assigned by apache

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Shiro < 2.0.7 2.0.7

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 shiro No fix yet —
Debian 13 shiro No fix yet —
Debian 12 shiro No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 shiro No fix yet —
Ubuntu 26.04 LTS shiro No fix yet —
Ubuntu 25.10 shiro No fix yet —
Ubuntu 22.04 LTS shiro No fix yet —
Ubuntu 20.04 LTS shiro No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS shiro No fix yet —
Ubuntu Pro 18.04 LTS shiro No fix yet —
Ubuntu Pro 16.04 LTS shiro No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.shiro:shiro-spring < 2.1.0 2.1.0 GHSA-c244-p6m5-vqj6

Advisories 2

References