CVE-2026-48589: Apache Shiro open redirect in Jakarta EE module

CVE-2026-48589 · Severity: medium · CVSS 5.4 · Published 2026-05-25

Apache Shiro, a security framework for Java applications, contains a vulnerability in its Jakarta EE integration module. An attacker can manipulate the login process to redirect users to a malicious external website instead of the intended application page. This could be used in phishing campaigns to trick users into providing credentials to a fraudulent site.

Technologies: Apache Shiro. Vendors: Apache, Maven.

Quick answers

Is CVE-2026-48589 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-48589 being exploited in the wild.
How severe is CVE-2026-48589?
Medium severity, with a CVSS score of 5.4, published 25 May 2026.
Which products and versions are affected?
Apache Shiro 2.0-alpha to 2.2.0, 3.0.0-alpha-1; org.apache.shiro:shiro-jakarta-ee (Maven) ECOSYSTEM:introduced=2.0-alpha,fixed=2.2.1.
Is there a fix for CVE-2026-48589?
Yes. org.apache.shiro:shiro-jakarta-ee (Maven): upgrade to 2.2.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-48589 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-48589?
Check whether you run Apache Shiro or org.apache.shiro:shiro-jakarta-ee (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.apache.shiro:shiro-jakarta-ee (Maven): upgrade to 2.2.1 or later
    # set org.apache.shiro:shiro-jakarta-ee to 2.2.1 in your pom.xml or build.gradle

Technical details

An open redirect vulnerability (CWE-601) exists in the Apache Shiro Jakarta EE integration module. The vulnerability stems from the application using the client-controlled HTTP Referer header to determine the redirection target after a successful user login without adequate validation. An attacker can exploit this by crafting a link that, upon successful authentication, redirects the victim to an arbitrary external domain. This issue affects versions 2.0-alpha through 2.2.0 and 3.0.0-alpha-1. It has been patched in versions 2.2.1 and 3.0.0-alpha-2.

Affected products

  • Apache Shiro >= 2.0-alpha, < 2.2.1; >= 3.0.0-alpha-0, < 3.0.0-alpha-2

Identifiers

  • CVE-2026-48589
  • GHSA-7pq2-fhx9-x464

Timeline

  • 2026-05-25: disclosed
  • 2026-05-26: advisory: GitHub Advisory published
  • 2026-07-10: patched: Advisory updated with patch information

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.