What’s Vulnerable › Vulnerabilities

CVE-2026-48589: Apache 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.

Affected products

How to fix

Upgrade to a fixed version: Apache Software Foundation Apache Shiro 2.2.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-48589 or the next vulnerability affects your stack