CVE-2026-23901Apache Shiro: Brute force attack possible to determine valid user names
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.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | shiro | Fix pending | UBUNTU-CVE-2026-23901 | |
| Ubuntu 26.04 | shiro | Under investigation | UBUNTU-CVE-2026-23901 | |
| Ubuntu 25.10 | shiro | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-23901 | |
| Ubuntu 24.04 | shiro | Fix pending | UBUNTU-CVE-2026-23901 | |
| Ubuntu 22.04 | shiro | Under investigation | UBUNTU-CVE-2026-23901 | |
| Ubuntu 20.04 | shiro | Fix pending | UBUNTU-CVE-2026-23901 | |
| Ubuntu 18.04 | shiro | Fix pending | UBUNTU-CVE-2026-23901 | |
| Ubuntu 16.04 | shiro | Fix pending | UBUNTU-CVE-2026-23901 | |
| Debian 14 | shiro | Fix pending | DEBIAN-CVE-2026-23901 | |
| Debian 13 | shiro | Fix pending | DEBIAN-CVE-2026-23901 | |
| Debian 12 | shiro | Fix pending | DEBIAN-CVE-2026-23901 | |
| Maven library | org.apache.shiro:shiro-core | Fixed | 2.1.0 | GHSA-c4qc-4q9p-m9q9 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Shiro: affected: before 2.0.7; fixed in
2.0.7
Vendor advisories:
- https://lists.apache.org/thread/mm1jct9b86jvnh3y44tj22xvjtx3xhhh (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.