Path Traversal in Apache Shiro
Apache Shiro, before 1.12.0 or 2.0.0-alpha-3, may be susceptible to a path traversal attack that results in an authentication bypass when used together with APIs or other web frameworks that route requests based on non-normalized requests.
Mitigation: Update to Apache Shiro 1.12.0+ or 2.0.0-alpha-3+
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.shiro:shiro-web | < 1.12.0, >= 2.0.0-alpha-1, < 2.0.0-alpha-3 | 1.12.0, 2.0.0-alpha-3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-34478
- https://github.com/apache/shiro/commit/c3ede3f94efb442acb0795714a022c2c121d1da0
- https://github.com/apache/shiro
- https://lists.apache.org/thread/mbv26onkgw9o35rldh7vmq11wpv2t2qk
- https://security.netapp.com/advisory/ntap-20230915-0005
- http://www.openwall.com/lists/oss-security/2023/07/24/4
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-22- Platform
- Java / Kotlin (Maven)
- Package
org.apache.shiro:shiro-web- Disclosed
- 24.07.2023
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-pmhc-2g4f-85cg - CC BY 4.0
Vulnerability history: org.apache.shiro:shiro-web
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 5
- First → latest
- 02.2022 05.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
- High 1
- Medium 2
Disclosures per year
- 2022: 2
- 2023: 2
- 2024: 0
- 2025: 0
- 2026: 1
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.