Apache Shiro Affected by an Observable Timing Discrepancy Vulnerability
Observable Timing Discrepancy vulnerability in Apache Shiro.
This issue affects Apache Shiro: from 1., 2. before 2.0.7.
Users are recommended to upgrade to version 2.0.7 or later, which fixes the issue.
Prior to Shiro 2.0.7, code paths for non-existent vs. existing users are different enough, that a brute-force attack may be able to tell, by timing the requests only, determine if the request failed because of a non-existent user vs. wrong password.
The most likely attack vector is a local attack only. Shiro security model https://shiro.apache.org/security-model.html#username_enumeration discusses this as well.
Typically, brute force attack can be mitigated at the infrastructure level.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.shiro:shiro-core | < 2.1.0 | 2.1.0 |
References
- CVSS vector
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:A/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N- Weakness (CWE)
CWE-208- Platform
- Java / Kotlin (Maven)
- Package
org.apache.shiro:shiro-core- Disclosed
- 10.02.2026
- Updated
- 11.10.2026 13:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-c4qc-4q9p-m9q9 - CC BY 4.0
Vulnerability history: org.apache.shiro:shiro-core
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 12
- First → latest
- 02.2020 06.2026
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- Critical 6
- High 3
- Medium 2
- Low 1
Disclosures per year
- 2020: 1
- 2021: 4
- 2022: 3
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 3
-
Apache Shiro Affected by an Observable Timing Discrepancy Vulnerability this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.