LOW 1.0

CVE-2026-23901

Apache Shiro Affected by an Observable Timing Discrepancy Vulnerability

Description

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 Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.shiro » shiro-core
< 2.1.0
2.1.0

Blast radius

1affected artifacts
49affected versions
4,104dependent artifacts (est.)
158,218dependent versions

68% of the dependent artifacts (2,794) still pull an affected version in their latest release.

DepthDependent versions
Direct
29,421
2 hops
67,269
3 hops
40,007
4 hops
14,609
5 hops
5,087
6 hops
1,825

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Weblists.apache.org
Webopenwall.com