Hello, Could you please confirm whether version 3.0.1 is affected by these vulnerabilities? We are planning to upgrade to 3.0.2 soon, but wanted to check if it is safe to continue using 3.0.1 in the meantime. Additionally, could you let us know the scope of changes between 3.0.1 and 3.0.2?
Thank you, -Mihir Chhaya On Sat, Nov 14, 2026, 8:45 PM Lenny Primak via user <[email protected]> wrote: > Hello Shiro users, > > We have published three critical security advisories. Two affect the LDAP > realm and one affects the default cookie settings. Please check whether you > are affected and upgrade. > > CVE-2026-129349: any password accepted with LDAP authentication caching > When authentication caching is enabled on DefaultLdapRealm (or > JndiLdapRealm), a user who has logged in once can log in again with any > password. A cached authentication skips the LDAP bind, and the > AllowAllCredentialsMatcher installed by default accepts any credentials. > > • Affected: all versions through 3.0.0, only with > authenticationCachingEnabled set to true. This is not the default. > • Fix: upgrade to 3.0.1 or later. AllowAllCredentialsMatcher is no longer > installed by default. > • Workarounds: keep authentication caching disabled on the LDAP realm (the > default), or configure a credentials matcher such as > SimpleCredentialsMatcher that verifies credentials against the cached > authentication info. > • Credit: Joshua Rogers. > > CVE-2026-49268: LDAP DN injection in DefaultLdapRealm > The username was concatenated into the LDAP DN template without escaping > RFC 2253 special characters. An attacker can change the DN used for the > LDAP bind, which can bypass authentication or impersonate other users. > > • Affected: all versions through 2.2.0, and 3.0.0-alpha-1, when using > DefaultLdapRealm. > • Fix: upgrade to 2.2.1, or 3.0.0-alpha-2 or later. > • Credit: zhaokaifei. > > CVE-2026-43828: cookies sent without the Secure attribute > The Shiro-native session manager and the Remember-Me manager sent the > JSESSIONID and rememberMe cookies without the Secure attribute by default, > even over HTTPS. > > • Affected: 1.0 to 2.1.0, and 3.0.0-alpha-1. > • Fix: upgrade to 2.2.0, or 3.0.0-alpha-2 or later. > • Credit: Meteor_Kai. > > Recommended actions > > • Upgrade to Shiro 3.0.2 or later (3.x) or 2.2.1 or later (2.x). > • Review your LDAP realm configuration, especially if authentication > caching is on. > • Confirm your session and Remember-Me cookies carry the Secure attribute. > > More details: > > • Blog post: > https://shiro.apache.org/blog/2026/11/apache-shiro-security-advisories.html > • Vulnerability reports: https://shiro.apache.org/security-reports.html > • Downloads: https://shiro.apache.org/download.html > > Thanks to the reporters for the responsible disclosure. > > Regards, > Lenny Primak > Apache Shiro > >
