Description
With valid login credentials, URL Redirection to Untrusted Site ('Open Redirect'), Server-Side Request Forgery (SSRF) vulnerability in Apache Shiro.
This issue affects Apache Shiro from 2.0-alpha to 2.1.0, and 3.0.0-alpha-1, only when using shiro-jakarta-ee integration module.
Users are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue by encrypting the cookie.
After successful login, Jakarta EE integration module uses shiroSavedRequest cookie to redirect to a particular web page after login.
This cookie was not validated, and can be forged to send a HTTP GET request from the server itself to an arbitrary URL from the cookie.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Shiro Jakarta EE module | 2.0.0-alpha-0 – ≤ 2.1.0, 3.0.0-alpha-0 – ≤ 3.0.0-alpha-1 | — |
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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.shiro:shiro-jakarta-ee | >= 2.0.0-alpha-0, < 2.2.0 | 2.2.0 | GHSA-wpqm-4gwx-w843 |
| Maven | org.apache.shiro:shiro-jakarta-ee | >= 3.0.0-alpha-1, < 3.0.0-alpha-2 | 3.0.0-alpha-2 | GHSA-wpqm-4gwx-w843 |
References
- https://shiro.apache.org/security-reports.html#cve_2026_44598 vendor-advisory