The Daily Byte
Breaking
Welcome to The Daily Byte — real stories from across Pakistan.
Saturday, 21 November 2026 · Pakistan

The Daily Byte

Stories from Pakistan that deserve to be heard

CVE-2026-129349: Apache Shiro LDAP flaw lets any password in

By The Daily Byte ·15 Nov 2026 ·2 min read
Apache Shiro authentication code in a Java development environment

Apache Shiro has disclosed a critical authentication bypass, tracked as CVE-2026-129349, in which a cached LDAP login can succeed with any password. The flaw was published on 14 November 2026 and affects the widely used Java security framework.

According to Apache Shiro's security advisory, the problem arises when authentication caching is enabled on the DefaultLdapRealm. After a user has logged in successfully once, later logins for that user succeed with any password, because the cached authentication skips the LDAP bind and the AllowAllCredentialsMatcher installed by default accepts any credentials.

Who is affected

The flaw affects all Apache Shiro versions through 3.0.0, but only when an application uses DefaultLdapRealm or JndiLdapRealm with authenticationCachingEnabled set to true. Apache notes that caching is not the default setting, so most deployments are not exposed. Where it is enabled, however, an attacker who knows a valid username can authenticate as that user without knowing the password.

What to do now

Apache rates the issue critical and says the fix is to upgrade to Shiro 3.0.1 or later, which no longer installs the AllowAllCredentialsMatcher by default. As a workaround, administrators can disable authentication caching on the LDAP realm, or configure a credentials matcher such as SimpleCredentialsMatcher that checks credentials against the cached authentication data.

More flaws fixed in the same release

The same advisory batch includes further fixes in Shiro 3.0.2, among them CVE-2026-129347, in which an empty stored credential could match an empty submitted password, CVE-2026-129348, in which a PropertiesRealm reload could leave removed users and narrowed permissions in force, and CVE-2026-74763, in which authorisation annotations were not always enforced. The CVE-2026-129349 issue was reported to Apache by Joshua Rogers.