CVE-2023-34478Apache Shiro
Critical 9.8 No auth needed
Follow: this CVE · Apache · Apache Shiro We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.1% probability of exploitation in 30 days · percentile 83
- Auth required
- No
- Published
- Jul 24, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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+
What to do
- Apply the vendor's security update for Shiro.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.shiro:shiro-web |
< 1.12.0 |
1.12.0 |
— |
| Maven | org.apache.shiro:shiro-web |
≥ 2.0.0-alpha-1 < 2.0.0-alpha-3 |
2.0.0-alpha-3 |
— |
Per OSV / GitHub Advisories (GHSA-pmhc-2g4f-85cg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | shiro | < 1.12.0 |
| apache | shiro | 2.0.0 |
| apache | shiro | 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- lists.apache.org Mailing List
- security.netapp.com