Path Traversal in Apache Shiro
CVE-2023-34478
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+
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.021, 81.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Apache Shiro — versions 2.0.0
- Apache Software Foundation Shiro — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- shoucheng3/apache__shiro_CVE-2023-34478_1-11-0 (last pushed 2025-08-16)
Also mentioned in 1 other repository (Threekiii/CVE). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- lists.apache.org/thread/mbv26onkgw9o35rldh7vmq11wpv2t2qk (vendor-advisory, Mailing List)
- www.openwall.com/lists/oss-security/2023/07/24/4 (Mailing List, Third Party Advisory)
- security.netapp.com/advisory/ntap-20230915-0005/
This CVE has public exploit evidence. See the latest CVEs with public exploits.