ZeroDay Brief
CVE-2026-129349 Exploit code public

A cached authentication skips the LDAP bind, and the AllowAllCredentialsMatcher installed by default in DefaultLdapRealm accepts any credentials, allowing an attacker who knows a valid username to au…

CVSS
9.1Critical
Chance of exploitation (EPSS)
0.58%
Published
Nov 15, 2026
In the news
1 story
More from this vendor

What to do

A critical authentication flaw in Apache Shiro that can be attacked over the network without logging in. Exploit code is public, so patch it soon.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Fixed in: 3.0.1

Affected versions
Apache Shiro
Before 3.0.1

Description

When authentication caching is enabled on DefaultLdapRealm, after a user logs in successfully once, subsequent logins for that user succeed with any password.
A cached authentication skips the LDAP bind, and the AllowAllCredentialsMatcher installed by default in DefaultLdapRealm accepts any credentials, allowing an attacker who knows a valid username to authenticate as that user.
This issue affects all Apache Shiro versions through 3.0.0, only when using DefaultLdapRealm (or JndiLdapRealm) with authenticationCachingEnabled set to true, which is not the default.

Mitigation: Upgrade to version 3.0.1 or later, which fixes the issue by no longer installing AllowAllCredentialsMatcher by default.
Alternatively, disable authentication caching on the LDAP realm (this is the default), or configure a credentials matcher, such as SimpleCredentialsMatcher, that verifies credentials against the cached authentication info.

CWE-287

Affected products

Get alerts for these →

Timeline 4

Latest change: googlesky/CVE-2026-129349: Apache Shiro (Nov 15, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Sun, Nov 15, 2026

  1. Exploit codegooglesky/CVE-2026-129349: Apache ShiroGitHub (unverified) · 17:15 UTC
  2. CVECVE-2026-129349 published (CVSS 9.1)CVE Program · 10:16 UTC

Exploit code

Visit at your own risk. These are third-party sites we find automatically. We do not test, review or vouch for them, and fake proof-of-concept repositories sometimes contain malware.

References 2

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”