Description
Apache Shiro before 1.13.0 or 2.0.0-alpha-4, may be susceptible to a path traversal attack that results in an authentication bypass when used together with path rewriting
Mitigation: Update to Apache Shiro 1.13.0+ or 2.0.0-alpha-4+, or ensure `blockSemicolon` is enabled (this is the default).
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Shiro | < 1.13.0, 2.0.0-alpha-1 – < 2.0.0-alpha-4 | 1.13.0 |
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | shiro | 1.3.2-5 | — |
| Debian 13 | shiro | 1.3.2-5 | — |
| Debian 12 | shiro | 1.3.2-5 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | shiro | 1.3.2-5ubuntu0.24.04.1~esm1 | USN-7147-1 |
| Ubuntu Pro 18.04 LTS | shiro | No fix yet | — |
| Ubuntu Pro 16.04 LTS | shiro | 1.2.4-1ubuntu0.1~esm2 | USN-7147-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.shiro:shiro-core | < 1.13.0 | 1.13.0 | GHSA-jc7h-c423-mpjc |
| Maven | org.apache.shiro:shiro-core | >= 2.0.0alpha1, < 2.0.0-alpha4 | 2.0.0-alpha4 | GHSA-jc7h-c423-mpjc |
Advisories 1
- USN-7147-1 shiro vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
References
- https://lists.apache.org/thread/mdv7ftz7k4488rzloxo2fb0p9shnp9wm vendor-advisory