GHSA-3j37-vw7v-fxxw
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify valid username on Shiro LDAP app
-
DeliveryWait for or confirm victim's prior successful login
-
ExploitSubmit login with arbitrary password
-
ExecutionCached entry skips LDAP bind, AllowAllCredentialsMatcher accepts
-
ImpactAuthenticate as victim user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the application to use Apache Shiro's DefaultLdapRealm or JndiLdapRealm with authenticationCachingEnabled explicitly set to true - this is NOT the default configuration. It further requires that the target user has already authenticated successfully at least once so that a cached authentication entry exists, and that the attacker knows a valid username. These limiting factors (non-default caching setting, dependency on a prior successful login to populate the cache, and no credentials-matcher override) substantially narrow real-world exposure: deployments on default settings, or any realm configured with a verifying credentials matcher such as SimpleCredentialsMatcher, are not affected. |
| Impact | This is an authentication-bypass flaw that is genuinely critical in impact but narrowly gated by configuration. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N, score 9.1) reflects a remote, unauthenticated attacker who only needs to know a valid username, with high confidentiality and integrity impact - but the AT:P (attack requirement present) is the pivotal signal: exploitation depends on the non-default setting authenticationCachingEnabled=true on DefaultLdapRealm/JndiLdapRealm AND on the target user having already authenticated successfully at least once to populate the cache. The vuln.today decision label is 'awaiting_data', and no EPSS score, CISA KEV listing, or PoC is present in the input, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The combination - maximal impact when the precondition holds, but a precondition that is off by default - means this is a serious issue for the specific subset of deployments using LDAP realms with authentication caching, rather than a broadly wormable, exploit-everywhere emergency. Prioritize patching where LDAP realm caching is in use; elsewhere the real-world exposure is substantially lower. EPSS and KEV data are missing, so widespread-exploitation likelihood cannot be quantified from the provided signals. |
| Exploit ScenarioDerived | In an application that configures Apache Shiro's DefaultLdapRealm (or JndiLdapRealm) with authenticationCachingEnabled set to true, a legitimate user logs in once, populating the authentication cache. An attacker who knows that user's username then logs in with any arbitrary password; because the cached entry skips the LDAP bind and the default AllowAllCredentialsMatcher accepts any credentials, the attacker is authenticated as that user. No public exploit is identified at time of analysis, though the bypass is trivial to perform once the preconditions are met. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 14, 2026
Apache Shiro through 3.0.0 can authenticate an attacker as any valid username without knowing that user's password when DefaultLdapRealm or JndiLdapRealm is configured with authenticationCachingEnabled set to true. Because a cached authentication entry short-circuits the LDAP bind and the realm installs AllowAllCredentialsMatcher by default, any credential supplied for a previously authenticated username is accepted; the attacker must know a valid username and wait for that user to have logged in at least once, so exposure is limited to that non-default caching configuration. The issue is fixed in Shiro 3.0.1, which stops installing AllowAllCredentialsMatcher by default; no public exploit code is identified at time of analysis and the priority label is awaiting_data.
RemediationAI
Vendor-released patch: upgrade to Apache Shiro 3.0.1 or later, which fixes the issue by no longer installing AllowAllCredentialsMatcher by default; 3.0.2 is also available per https://shiro.apache.org/. Where upgrading cannot be done immediately, the vendor-stated alternatives are to disable authentication caching on the LDAP realm (this is the default) or to configure a credentials matcher such as SimpleCredentialsMatcher that verifies credentials against the cached authentication info; both remove the bypass but the first also removes the performance benefit caching was providing, and the second requires the cached AuthenticationInfo to carry comparable credentials. Advisory details are at https://seclists.org/oss-sec/2026/q4/705.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache Shiro is a Java security framework providing authentication, authorization, cryptography and session management, and LDAP-backed realms (DefaultLdapRealm, and its deprecated predecessor JndiLdapRealm) delegate credential verification to an LDAP bind. The root cause is the combination of two design decisions: DefaultLdapRealm installs AllowAllCredentialsMatcher by default, which accepts any presented credentials, and when authentication caching is enabled the cached AuthenticationInfo is returned before the realm performs the LDAP bind that would otherwise validate the password. The result is an authentication bypass in which the cached entry substitutes for credential verification. Affected artifact is org.apache.shiro:shiro-core before 3.0.1; the condition is only present when the application explicitly sets authenticationCachingEnabled to true on an LDAP realm and has not configured a verifying credentials matcher, which is not the framework default. The vendor fix in 3.0.1 removes the default AllowAllCredentialsMatcher installation; no CWE mapping was provided in the available sources.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/S:N/AU:Y/R:U/V:C/RE:L/U:Red
Remote and unauthenticated (AV:N/PR:N/UI:N) but AC:H reflects the non-default caching setting and required prior cached login; full account takeover gives C:H/I:H, no availability impact.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
2Description PRE-NVD
Articles & Coverage 1
Executive ViewAI
A critical authentication bypass in Apache Shiro (through 3.0.0) could let an attacker impersonate any user who has already logged in, without knowing their password, wherever LDAP authentication caching is enabled. This undermines a core trust boundary for identity and access, potentially exposing systems and data to unauthorized access under a legitimate user's identity. Leadership should care because it directly threatens the integrity of authentication across any application relying on the affected configuration.
Where immediate upgrade is not feasible, disable authenticationCachingEnabled on DefaultLdapRealm and JndiLdapRealm configurations, explicitly override the default credentials matcher so AllowAllCredentialsMatcher is not installed, and closely monitor LDAP-backed authentication for suspicious or unexpected logins.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
EUVD-2026-126005
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB