CVE-2026-23901: Shiro core Apache Shiro Affected By An Vulnerability
LOWCVE-2026-23901 is a LOW apache shiro affected by an vulnerability (CWE-208: Observable Timing Discrepancy) affecting Shiro core libraries in the Maven ecosystem. The issue involves apache shiro affected by an observable timing discrepancy vulnerability. Remediation is available by upgrading affected packages to version 2.1.0.
CVE-2026-23901 at a Glance
How to Fix CVE-2026-23901
To remediate this vulnerability, upgrade all affected Shiro core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-core</artifactId>
<version>2.1.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.shiro
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-23901, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.shiro
Analyze the terminal output to locate any version of Shiro core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.shiro command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-208: Observable Timing Discrepancy, where two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not. In Shiro core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-23901 Affected Shiro core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.shiro:shiro-core
|
Maven |
< 2.1.0
|
2.1.0
|
References
Frequently Asked Questions
What is CVE-2026-23901?
Which Shiro core versions are affected?
What version fixes CVE-2026-23901?
Is shiro-core affected?
What CWE is associated with CVE-2026-23901?
How can I check Maven dependencies for CVE-2026-23901?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c4qc-4q9p-m9q9",
"modified" : "2026-02-10T14:33:33Z",
"published" : "2026-02-10T12:30:28Z",
"aliases" : [ "CVE-2026-23901" ],
"summary" : "Apache Shiro Affected by an Observable Timing Discrepancy Vulnerability",
"details" : "Observable Timing Discrepancy vulnerability in Apache Shiro.\n\nThis issue affects Apache Shiro: from 1.*, 2.* before 2.0.7.\n\nUsers are recommended to upgrade to version 2.0.7 or later, which fixes the issue.\n\nPrior to Shiro 2.0.7, code paths for non-existent vs. existing users are different enough,\nthat a brute-force attack may be able to tell, by timing the requests only, determine if\nthe request failed because of a non-existent user vs. wrong password.\n\nThe most likely attack vector is a local attack only.\nShiro security model https://shiro.apache.org/security-model.html#username_enumeration discusses this as well.\n\nTypically, brute force attack can be mitigated at the infrastructure level.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.shiro:shiro-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-23901"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/shiro"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/mm1jct9b86jvnh3y44tj22xvjtx3xhhh"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2026/02/08/2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-208" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-10T14:33:33Z",
"nvd_published_at" : "2026-02-10T10:15:59Z"
}
}