CVE-2026-137686
Received Received - Intake

Apache Shiro ActiveDirectoryRealm Empty Credential Authentication Bypass

Vulnerability report for CVE-2026-137686, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-27

Last updated on: 2026-11-27

Assigner: Apache Software Foundation

Description

The fix for CVE-2014-0074 https://shiro.apache.org/security-reports.html#cve_2014_0074 was incomplete for ActiveDirectoryRealm, which still accepted an empty username and password as an anonymous LDAP bind. This allowed an unauthenticated user to log in with an empty principal. This issue affects all Apache Shiro versions through 3.0.1, only when ActiveDirectoryRealm is used without principalSuffix and the directory server allows anonymous binds. Mitigation: Upgrade to version 3.0.2 or later, which fixes the issue. Alternatively, set principalSuffix on the realm, or disable anonymous binds on the directory server.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-27
Last Modified
2026-11-27
Generated
2026-11-27
AI Q&A
2026-11-27
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
Apache Software Foundation Apache Shiro From 0 (inc) to 3.0.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-287 When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects Apache Shiro versions through 3.0.1 when using ActiveDirectoryRealm without principalSuffix. It allows unauthenticated access by accepting empty username and password for anonymous LDAP bind, letting attackers log in without credentials.

Detection Guidance

To detect this vulnerability, check if Apache Shiro versions through 3.0.1 are using ActiveDirectoryRealm without principalSuffix and with anonymous LDAP binds enabled. Inspect Shiro configuration files for ActiveDirectoryRealm settings and verify LDAP server settings for anonymous bind permissions.

Impact Analysis

An attacker could exploit this to gain unauthorized access to systems using ActiveDirectoryRealm in Apache Shiro. This could lead to data breaches, privilege escalation, or unauthorized actions depending on the application's permissions.

Compliance Impact

This vulnerability could violate compliance requirements like GDPR (data protection) or HIPAA (health data security) by enabling unauthorized access to sensitive data. Organizations using affected Shiro versions may face regulatory penalties or audit failures.

Mitigation Strategies

Upgrade Apache Shiro to version 3.0.2 or later. Alternatively, configure principalSuffix on the ActiveDirectoryRealm or disable anonymous binds on the LDAP directory server to prevent unauthenticated access.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-137686. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...