Skip to content
OpenAdvisories
None · 0.0 CVE-2026-48589 EUVD-2026-31738GHSA-7pq2-fhx9-x464

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

Published May 25, 2026 · Updated May 26, 2026 · Assigned by apache

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

VendorProductAffectedFixed
Apache Software Foundation Apache Shiro 2.0.0-alpha-0 – ≤ 2.2.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.

ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
Maven org.apache.shiro:shiro-jakarta-ee >= 2.0-alpha, < 2.2.1 2.2.1 GHSA-7pq2-fhx9-x464
Maven org.apache.shiro:shiro-jakarta-ee >= 3.0.0-alpha-0, < 3.0.0-alpha-2 3.0.0-alpha-2 GHSA-7pq2-fhx9-x464

References