CVE-2026-48589Apache Shiro: Jakarta EE open redirect via untrusted Referer in post-login redirect flow
Description
Apache Shiro’s Jakarta EE module used the HTTP Referer header in certain cases to issue redirect after a user login. In affected versions, insufficient validation of this client-controlled value could allow an attacker to influence the redirect target in applications using the Jakarta EE module. This issue affects Apache Shiro from 2.0-alpha to 2.2.0, and 3.0.0-alpha-1, only when using shiro-jakarta-ee integration module.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| Apache Software Foundation | Apache Shiro | 2.0.0-alpha-0 – ≤ 2.2.0, 3.0.0-alpha-0 – ≤ 3.0.0-alpha-1 | |
| apache | shiro | 2.0.0 – < 2.2.1 |
References and patches
- https://shiro.apache.org/security-reports.html#cve_2026_48589 vendor-advisoryVendor Advisory
- http://www.openwall.com/lists/oss-security/2026/05/25/9 Mailing ListThird Party Advisory
CPE matches (NVD) (2)
cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:*≥ 2.0.0 < 2.2.1cpe:2.3:a:apache:shiro:3.0.0:alpha1:*:*:*:*:*:*