Vulnerabilities in pkg:maven/org.apache.shiro/shiro-jakarta-ee

PACKAGE
Advisory Identifier: GHSA-7pq2-fhx9-x464
Advisory Summary

CVE-2026-48589 is a LOW (CVSS 5.4) apache shiro’s jakarta ee module vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Shiro jakarta ee libraries in the Maven ecosystem. The issue involves apache shiro’s jakarta ee module used the http referer header in certain cases to issue redirect after a user login. Remediation is available by upgrading affected packages to version 2.2.1, 3.0.0-alpha-2.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.shiro/shiro-jakarta-ee

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.apache.shiro/shiro-jakarta-ee. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-7pq2-fhx9-x464 CVE-2026-48589 LOW Apache Shiro’s Jakarta EE module used the HTTP Referer header in certain cases to issue redirect after a user login
GHSA-wpqm-4gwx-w843 CVE-2026-44598 MODERATE Apache Shiro Vulnerable to Open Redirect, Server-Side Request Forgery

CVE-2026-48589 at a Glance

CVE Identifier CVE-2026-48589
GHSA Identifier GHSA-7pq2-fhx9-x464
Severity LOW
CVSS v3.1 Base Score 5.4
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Shiro jakarta ee
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-48589

To remediate this vulnerability, upgrade all affected Shiro jakarta ee dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.shiro:shiro-jakarta-ee fixed: 2.2.1
<dependency>
    <groupId>org.apache.shiro</groupId>
    <artifactId>shiro-jakarta-ee</artifactId>
    <version>2.2.1</version>
</dependency>
org.apache.shiro:shiro-jakarta-ee fixed: 3.0.0-alpha-2
<dependency>
    <groupId>org.apache.shiro</groupId>
    <artifactId>shiro-jakarta-ee</artifactId>
    <version>3.0.0-alpha-2</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apache.shiro

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-48589, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.shiro

Analyze the terminal output to locate any version of Shiro jakarta ee in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.1), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.shiro command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Shiro jakarta ee, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-48589 Affected Shiro jakarta ee Versions

2 component(s)
Fixed Versions:
2.2.13.0.0-alpha-2
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.shiro:shiro-jakarta-ee
Maven
≥ 2.0-alpha
< 2.2.1
2.2.1
org.apache.shiro:shiro-jakarta-ee
Maven
≥ 3.0.0-alpha-0
< 3.0.0-alpha-2
3.0.0-alpha-2

References

Frequently Asked Questions

What is CVE-2026-48589?
CVE-2026-48589 is a security vulnerability in Shiro jakarta ee involving Apache Shiro’s Jakarta EE module used the HTTP Referer header in certain cases to issue redirect after a user login under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Shiro jakarta ee versions are affected?
Affected versions include releases prior to 2.2.1, 3.0.0-alpha-2 across affected packages: org.apache.shiro:shiro-jakarta-ee.
What version fixes CVE-2026-48589?
Upgrading to 2.2.1, 3.0.0-alpha-2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is shiro-jakarta-ee affected?
Yes, org.apache.shiro:shiro-jakarta-ee is affected in releases prior to 2.2.1, 3.0.0-alpha-2. Upgrade your dependency to 2.2.1, 3.0.0-alpha-2 or later.
What is the CVSS score of CVE-2026-48589?
CVE-2026-48589 has a CVSS v3.1 base score of 5.4 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2026-48589?
CVE-2026-48589 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check Maven dependencies for CVE-2026-48589?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.shiro'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-7pq2-fhx9-x464",
  "modified" : "2026-07-10T21:42:44Z",
  "published" : "2026-05-26T13:30:50Z",
  "aliases" : [ "CVE-2026-48589" ],
  "summary" : "Apache Shiro’s Jakarta EE module used the HTTP Referer header in certain cases to issue redirect after a user login",
  "details" : "Apache Shiro’s Jakarta EE module used the HTTP Referer header in certain cases to issue redirect after a user login.\nIn 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.\nThis 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:A/V:D/RE:X/U:Green"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.shiro:shiro-jakarta-ee"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0-alpha"
      }, {
        "fixed" : "2.2.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.shiro:shiro-jakarta-ee"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0-alpha-0"
      }, {
        "fixed" : "3.0.0-alpha-2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-48589"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/shiro"
  }, {
    "type" : "WEB",
    "url" : "https://shiro.apache.org/security-reports.html#cve_2026_48589"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/05/25/9"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-601" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-10T21:42:44Z",
    "nvd_published_at" : "2026-05-25T21:16:35Z"
  }
}