CVE-2022-40664
Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher
CVE-2022-40664 is a critical vulnerability (CVSS 9.8) in Apache Shiro, published October 12, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.62%, the 89th percentile. Fixed in org.apache.shiro:shiro-core 1.10.0.
- Severity
- 9.8 CriticalCVSS 3.1, NVD
- Exploit chance
- 3.62%EPSS, 89th percentile
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
1.10.0org.apache.shiro:shiro-core +12 more
Description
Apache Shiro before 1.10.0, Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.apache.shiro:shiro-coreMaven | before 1.10.0 | 1.10.0 |
shiroDebian:12 | All versions, plus listed versions 1.3.2-51.3.2-6 | None known |
shiroDebian:13 | All versions, plus listed versions 1.3.2-6 | None known |
shiroDebian:14 | All versions, plus listed versions 1.3.2-6 | None known |
org.apache.shiro:shiro-coreMaven | before 1.10.0, plus listed versions 1.0.0-incubating1.1.01.2.01.2.11.2.2 Show 21 moreShow less1.2.31.2.41.2.51.2.61.3.01.3.11.3.21.4.01.4.0-RC21.4.11.4.21.5.01.5.11.5.21.5.31.6.01.7.01.7.11.8.01.9.01.9.1 | 1.10.0 |
shiroUbuntu:Pro:16.04:LTS | All versions, plus listed versions 1.2.4-11.2.4-1ubuntu0.1~esm11.2.4-1ubuntu0.1~esm2 | None known |
shiroUbuntu:Pro:18.04:LTS | All versions, plus listed versions 1.3.2-21.3.2-3~18.041.3.2-3~18.04.11.3.2-3ubuntu0.18.04.1~esm1 | None known |
shiroUbuntu:20.04:LTS | All versions, plus listed versions 1.3.2-41.3.2-4ubuntu0.11.3.2-4ubuntu0.2 | None known |
shiroUbuntu:22.04:LTS | All versions, plus listed versions 1.3.2-41.3.2-5 | None known |
shiroUbuntu:Pro:24.04:LTS | All versions, plus listed versions 1.3.2-51.3.2-5ubuntu0.24.04.1~esm1 | None known |
shiroUbuntu:25.10 | All versions, plus listed versions 1.3.2-6ubuntu1 | None known |
shiroUbuntu:26.10 | All versions, plus listed versions 1.3.2-6ubuntu2 | None known |
shiroUbuntu:26.04:LTS | All versions, plus listed versions 1.3.2-6ubuntu11.3.2-6ubuntu2 | None known |
What each source reports
NVD Score used 9.8
Apache Shiro before 1.10.0, Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher.
- Record
CVE-2022-40664- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-287
- Updated
- 2026-11-02
CVE List 9.8
Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher
Apache Shiro before 1.10.0, Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher.
- Record
CVE-2022-40664- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-287
- Updated
- 2026-11-02
EUVDEUVD-2022-7009 9.8
Apache Shiro before 1.10.0, Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher.
- Record
EUVD-2022-7009- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-45x9-q6vj-cqgq 9.8
Apache Shiro Authentication Bypass vulnerability
Apache Shiro before 1.10.0, Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher.
- Record
GHSA-45x9-q6vj-cqgq- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-287
- Updated
- 2026-11-02
OSV 9.8
Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher
Apache Shiro before 1.10.0, Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher.
- Record
CVE-2022-40664- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-287
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-40664 9.8
Apache Shiro before 1.10.0, Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher.
- Record
DEBIAN-CVE-2022-40664- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVGHSA-45x9-q6vj-cqgq 9.8
Apache Shiro Authentication Bypass vulnerability
Apache Shiro before 1.10.0, Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher.
- Record
GHSA-45x9-q6vj-cqgq- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-287
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-40664 9.8
Apache Shiro before 1.10.0, Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher.
- Record
UBUNTU-CVE-2022-40664- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-12
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
lists.apache.org/thread/loc2ktxng32xpy7lfwxto13k4lvnhjwg
openwall.com/lists/oss-security/2022/10/12/1
openwall.com/lists/oss-security/2022/10/12/2
openwall.com/lists/oss-security/2022/10/13/1
security.netapp.com/advisory/ntap-20221118-0005
nvd.nist.gov/vuln/detail/CVE-2022-40664
Show 7 moreShow less
shiro.apache.org/blog/2022/10/10/2022/apache-shiro-1101-released.html
github.com/advisories/GHSA-45x9-q6vj-cqgq
github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40664.json
security-tracker.debian.org/tracker/CVE-2022-40664
github.com/apache/shiro
ubuntu.com/security/CVE-2022-40664
cve.org/CVERecord?id=CVE-2022-40664