CriticalGHSA-pmhc-2g4f-85cgCVE-2023-34478

Path Traversal in Apache Shiro

Published 24 Jul 2023 · Updated 13 Feb 2025

Is your project on an affected org.apache.shiro:shiro-web?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
<1.12.0
Fixed in
1.12.0
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.shiro:shiro-web -DdepVersion=1.12.0 -DforceVersion=true
Affected
>=2.0.0-alpha-1 <2.0.0-alpha-3
Fixed in
2.0.0-alpha-3
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.shiro:shiro-web -DdepVersion=2.0.0-alpha-3 -DforceVersion=true

Details

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+

Is GHSA-pmhc-2g4f-85cg 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-web, and gives you the command that fixes it.

More advisories for org.apache.shiro:shiro-web

  • LowCVE-2026-56130Apache Shiro's "remember me" cookie age is not verified on the server. · 25 Jun 2026
  • MediumCVE-2026-43828Apache Shiro sends sensitive cookies in HTTPS session without 'Secure' attribute · 26 May 2026
  • MediumCVE-2023-46750Open redirect in Apache Shiro · 14 Dec 2023
  • HighCVE-2016-6802Improper Access Control in Apache Shiro · 14 May 2022
  • CriticalCVE-2020-17523Authentication bypass in Apache Shiro · 9 Feb 2022
org.apache.shiro:shiro-web security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.