Skip to main content
VulnerabilityPublished Updated

CVE-2023-46749: Apache Shiro · Path Traversal

Affects Apache ShiroSource CVE Database V5

0

Not known to be exploited · CVSS 6.5 Medium : upgrade to 1.13.0 when convenient.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.1% chance of exploitation in 30 days – higher than 67% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.13.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Jan 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade org.apache.shiro/shiro-core to 1.13.0.

Affected software

ProductAffectedFixed in
Mavenorg.apache.shiro/shiro-corepkg:maven/org.apache.shiro/shiro-coreOther threatsAffected
  • <1.13.0
  • =2.0.0-alpha-4
Fixed in
  • 1.13.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Upgrade Apache Shiro to version 1.13.0 or later, or 2.0.0-alpha-4 or later, as these versions contain fixes that properly limit pathname inputs and prevent path traversal.
  2. Verify that the 'blockSemicolon' configuration is enabled in Apache Shiro settings; this blocks semicolon characters in paths that facilitate traversal attacks and is enabled by default in patched versions.
  3. Conduct a thorough audit of web application path rewriting rules and ensure they do not inadvertently allow manipulation of request paths.
  4. Implement strict input validation and sanitization on all user-supplied URL parameters to prevent injection of malicious path segments.
  5. Monitor authentication logs for unusual access patterns or repeated failed attempts that could indicate exploitation attempts.
  6. Employ web application firewalls (WAFs) with rules designed to detect and block path traversal payloads targeting Apache Shiro.
  7. Educate development and security teams about the risks of path traversal and the importance of secure configuration management.
  8. Integrate vulnerability scanning tools that specifically check for outdated Apache Shiro versions and path traversal vulnerabilities in CI/CD pipelines to prevent regression.

Description

Apache Shiro before 1.13.0 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).

References

Community reviews

Loading reviews…