CVE-2026-48589 Apache Shiro: Jakarta EE open redirect via untrusted Referer in post-login redirect flow

None 0.0 Published Updated

Attackers can redirect users to malicious sites after login if the Jakarta EE module is used, due to insufficient validation of the Referer header.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-48589?

CVE-2026-48589 is a vulnerability in Apache Shiro, published on 25 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-601

Which versions are affected by CVE-2026-48589?

4 open source packages ship an affected version, including org.apache.shiro:shiro-jakarta-ee. It affects 1 product.

PackageAffectedFixed in
org.apache.shiro:shiro-jakarta-ee MavenFrom 2.0-alpha2.2.1
org.apache.shiro:shiro-jakarta-ee MavenFrom 2.0-alpha2.2.1
org.apache.shiro:shiro-jakarta-ee MavenFrom 3.0.0-alpha-03.0.0-alpha-2
org.apache.shiro:shiro-jakarta-ee MavenFrom 3.0.0-alpha-03.0.0-alpha-2

Products include Apache Shiro.

How do I fix CVE-2026-48589?

Upgrade org.apache.shiro:shiro-jakarta-ee to a fixed version for your release line: 2.2.1 or 3.0.0-alpha-2.

Is CVE-2026-48589 being exploited?

There is no known exploitation of CVE-2026-48589 in the wild and no public exploit code.

Sources

Also known as GHSA-7pq2-fhx9-x464, UBUNTU-CVE-2026-48589.

Is CVE-2026-48589 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free