Skip to main content

Apache Shiro EUVDEUVD-2026-137080

| CVE-2026-137686 MEDIUM
Improper Authentication (CWE-287)
6.3
CVSS 4.0 · Vendor
View

Attack ChainAIDerived

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

  1. Access
    Submit login with empty username and password
  2. Exploit
    Realm performs anonymous LDAP bind to AD
  3. Impact
    Authenticated session granted as empty principal

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 ALL of the following, per the vendor description: (1) the application uses Apache Shiro's ActiveDirectoryRealm; (2) the realm is configured WITHOUT principalSuffix; and (3) the backing directory server allows anonymous LDAP binds. When these hold, an unauthenticated user logging in with an empty username and empty password is accepted as an anonymous LDAP bind and authenticated under an empty principal. Limiting factors that reduce real-world exposure: it affects only the ActiveDirectoryRealm (other Shiro realms are unaffected), it does not apply when principalSuffix is set, and it does not apply when the directory server disables anonymous binds - i.e., it is a non-default configuration. Fixed in 3.0.2; alternative mitigations per the vendor are setting principalSuffix or disabling anonymous binds on the directory server.

Impact

This is a real but conditional authentication-bypass issue rather than a broad critical flaw. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N) scores 6.3 (medium): network-reachable and unauthenticated (PR:N), but carrying an explicit attack requirement (AT:P) that corresponds to the non-default preconditions in the description - ActiveDirectoryRealm used without principalSuffix AND a directory server that permits anonymous LDAP binds. Impact is limited to low confidentiality (VC:L) with no integrity or availability impact, consistent with gaining a login under an empty principal rather than full account takeover. No EPSS score, no CISA KEV entry, and no public exploit are present in the input, and the vuln.today decision label is 'awaiting_data', so there is no signal of active or imminent exploitation; this is driven by severity reasoning, not observed attacks. Net: prioritize for configuration review and patching where ActiveDirectoryRealm is in use, but the AT:P requirement and the limited confidentiality-only impact make it a targeted, deployment-specific concern rather than a mass-exploitation emergency. Note this is explicitly described as an incomplete fix for CVE-2014-0074, so environments that believed themselves remediated may still be exposed.

Exploit ScenarioDerived

An application uses Apache Shiro's ActiveDirectoryRealm (version 3.0.1 or earlier) without principalSuffix, against an Active Directory/LDAP server that allows anonymous binds. An unauthenticated attacker submits a login form with an empty username and empty password; Shiro performs an anonymous LDAP bind, treats it as a successful authentication, and logs the attacker in with an empty principal. No public exploit code is identified at time of analysis; the trigger (empty credentials) is trivial but depends entirely on the two configuration preconditions.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.8% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 27, 2026

Apache Shiro's ActiveDirectoryRealm accepts an empty username and empty password as a valid login when the realm is configured without a principalSuffix and the backing directory server permits anonymous LDAP binds, letting an unauthenticated user in under an empty principal. The flaw is an incomplete remediation of CVE-2014-0074 and affects shiro-core through 3.0.1, but only in that specific non-default realm configuration; deployments using other realms, setting principalSuffix, or connecting to directories that refuse anonymous binds are not exposed. It is fixed in Shiro 3.0.2, and no public exploit code or confirmed active exploitation was identified at time of analysis, which keeps the practical risk conditional rather than broad.

RemediationAI

Upgrade Apache Shiro to version 3.0.2 or later, which contains the complete fix for the ActiveDirectoryRealm path per the vendor advisory at https://shiro.apache.org/security-reports.html. Where an immediate upgrade is not possible, the vendor documents two configuration-level mitigations: set a principalSuffix on the ActiveDirectoryRealm so empty principals cannot be constructed, which requires the deployed applications to use directory accounts that match the suffix pattern and must be tested against existing login flows; or disable anonymous binds on the backing LDAP/Active Directory server, which stops the empty-credential bind from succeeding but may break other applications or health checks that legitimately rely on anonymous directory access. Both workarounds are configuration-specific, so confirm which realm and directory settings each affected application actually uses before treating it as exposed, and prefer the 3.0.2 upgrade as the complete remediation.

Affected VersionsENISA

Apache Shiro 0 <3.0.2

Affected Packages

euvd apache_shiro fix: 3.0.2

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, with pluggable realms as the bridge to identity stores. ActiveDirectoryRealm is the LDAP-backed realm used to authenticate against Microsoft Active Directory (and compatible LDAP servers); Shiro 3.x ships it in shiro-core as org.apache.shiro:shiro-core. The root cause is improper handling of empty credentials: when an empty username and empty password are submitted, Shiro forwards them to the directory as an anonymous LDAP bind, which succeeds on servers that allow anonymous binds, and Shiro then treats the empty principal as an authenticated identity. This is the same class of weakness addressed by CVE-2014-0074, whose fix did not cover the ActiveDirectoryRealm path. Triggering the weakness requires a specific configuration combination - ActiveDirectoryRealm in use, no principalSuffix configured, and a directory server that accepts anonymous binds - so the issue does not affect default or hardened deployments. No CWE identifier was supplied with the available data, and the vulnerability class is best characterized as an authentication bypass driven by unvalidated empty credentials rather than a memory-safety or injection flaw.

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 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.7 LOW

Network-reachable and unauthenticated (PR:N), but AC:H because exploitation depends on non-default preconditions (no principalSuffix plus anonymous binds); impact is confidentiality-only (C:L) via an empty-principal login.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/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
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 27, 2026 - 10:01 EUVD
CVE Published
Nov 27, 2026 - 01:49 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 (CVE-2026-137686) allows unauthenticated attackers to log in with empty credentials when the ActiveDirectoryRealm is configured without a principalSuffix and the backing LDAP server permits anonymous binds. This affects organizations using that specific non-default configuration, potentially granting unauthorized access to applications and sensitive data. Leadership should prioritize identifying exposed deployments and applying the vendor patch to prevent unauthorized access.

Business Impact: High
Compensating Controls

Vendor-released patch: 3.0.2

Threat Intelligence Overview

EPSS Score
0.8%
Top 48% exploitable
Prevalence
Medium
popular Java security framework, but vulnerable ActiveDirectoryRealm+anonymous-bind config is narrower
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +32
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