Skip to main content

Apache Shiro EUVDEUVD-2026-126005

| CVE-2026-129349 CRITICAL
Improper Authentication (CWE-287)
9.1
CVSS 4.0 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify valid username on Shiro LDAP app
  2. Delivery
    Wait for or confirm victim's prior successful login
  3. Exploit
    Submit login with arbitrary password
  4. Execution
    Cached entry skips LDAP bind, AllowAllCredentialsMatcher accepts
  5. Impact
    Authenticate 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Apache Shiro 0 <3.0.1

Affected Packages

euvd apache_shiro fix: 3.0.1

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

Vendor (CNA) PRIMARY 9.1 CRITICAL
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
vuln.today AI 7.4 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 15, 2026 - 10:01 EUVD
CVE Published
Nov 14, 2026 - 06:00 oss-security
CRITICAL

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.5%
Top 54% exploitable
Prevalence
High
Apache Shiro is a widely used Java enterprise security framework
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy