Apache Shiro vulnerable to path traversal
Published 15 Jan 2024 · Updated 4 Nov 2025
Is your project on an affected org.apache.shiro:shiro-core?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- <1.13.0
- Fixed in
- 1.13.0
mvn versions:use-dep-version -Dincludes=org.apache.shiro:shiro-core -DdepVersion=1.13.0 -DforceVersion=true- Affected
- >=2.0.0alpha1 <2.0.0-alpha4
- Fixed in
- 2.0.0-alpha4
mvn versions:use-dep-version -Dincludes=org.apache.shiro:shiro-core -DdepVersion=2.0.0-alpha4 -DforceVersion=trueDetails
Apache Shiro before 1.130 or 2.0.0-alpha-4, may be susceptible to a path traversal attack that results in an authentication bypass when used together with path rewriting
Mitigation: Update to Apache Shiro 1.13.0+ or 2.0.0-alpha-4+, or ensure blockSemicolon is enabled (this is the default).
Is GHSA-jc7h-c423-mpjc in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.shiro:shiro-core, and gives you the command that fixes it.
More advisories for org.apache.shiro:shiro-core
- LowCVE-2026-56130Apache Shiro's "remember me" cookie age is not verified on the server. · 25 Jun 2026
- HighCVE-2026-49268Apache Shiro: LDAP DN Injection in DefaultLdapRealm · 17 Jun 2026
- MediumCVE-2026-43827Apache Shiro has a session fixation vulnerability · 26 May 2026
- LowCVE-2026-23901Apache Shiro Affected by an Observable Timing Discrepancy Vulnerability · 10 Feb 2026
- CriticalCVE-2022-40664Apache Shiro Authentication Bypass vulnerability · 12 Oct 2022
- CriticalCVE-2022-32532Improper Authorization in Apache Shiro · 30 Jun 2022
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.