Apache Shiro LDAP auth bypass CVE-2026-129349 (CVSS 9.1) fixed in 17-flaw Apache batch across Shiro, APISIX, DataSketches
The Apache Software Foundation disclosed 17 vulnerabilities on November 13-14, 2026 across Apache Shiro, Apache APISIX and Apache DataSketches C++. The most severe is CVE-2026-129349, an authentication bypass in Shiro's DefaultLdapRealm and JndiLdapRealm rated CVSS 9.1. After one successful login, later logins for that user succeed with any password. The article reports no confirmed exploitation, no public proof-of-concept and no CISA KEV listing. The flaw is limited because it needs authentication caching, which is not the default, and the attacker must know a valid username. No vendor advisory or fix PR was checked, so this record rests on the article alone.
Entenda a falha
A vulnerabilidade
CVE-2026-129349 (CVSS 9.1) is an authentication bypass in Apache Shiro's DefaultLdapRealm and JndiLdapRealm. It only applies when authentication caching is enabled, which is not the default, and the attacker must know a valid username. Once a user has logged in successfully, later logins for that user succeed with any password. It affects Shiro through 3.0.0 and is fixed in 3.0.1, while 3.0.2 fixes the other Shiro flaws. Next is CVE-2026-74763 (6.3), where Shiro role and permission annotations are skipped in some class layouts. Apache APISIX has CVE-2026-124679 (7.8), where an unauthenticated client can spoof data the upstream trusts under certain jwe-decrypt or forward-auth settings, and CVE-2026-124680 (7.0), where encoded dot segments reach protected upstream paths. Both are fixed in APISIX 3.20.0. The batch also includes two DataSketches C++ out-of-bounds writes, affecting 2.0.0 through 5.3.0 and fixed in 5.3.1.
Como funciona
With authentication caching enabled on an LDAP realm, the first successful login is validated against the LDAP server and the result is cached. On later logins for the same user, Shiro uses the cached entry and skips the LDAP check. The credentials matcher that then decides whether the submitted password is acceptable is a default one that accepts anything. So the step that should compare the password never rejects it, and the login succeeds.
Por que é vulnerável
The root cause is an insecure default. Shiro installed AllowAllCredentialsMatcher by default, so once the LDAP check was bypassed through the cache, nothing verified the password. Version 3.0.1 fixes it by no longer installing AllowAllCredentialsMatcher by default. The articles do not say why the problem went unnoticed.
Onde está
The articles name the DefaultLdapRealm and JndiLdapRealm components and the AllowAllCredentialsMatcher default, but no file path or fixing commit.
Como foi descoberta
The articles do not say who found the flaw or how. The Apache Software Foundation disclosed 17 vulnerabilities across Shiro, APISIX and DataSketches C++ on November 13 and 14, 2026, through the CVE record and the Apache Shiro announcement and APISIX security notice. No exploitation in the wild is confirmed and none of the flaws are in CISA's KEV catalog.
Explicação gerada por IA a partir da matéria e dos artigos, em 15/11/2026 23:15.
Detalhes técnicos
- CVE-2026-129349: a cached login skips the LDAP check, and a default credentials matcher accepts any password. Affects Shiro through 3.0.0.
- CVE-2026-74763 (6.3): Shiro role and permission annotations are skipped in some class layouts.
- Other Shiro flaws: session fixation via Remember me, weak cookie attributes in Jakarta EE form saving, XSS in principal tags, and an incomplete earlier fix.
- APISIX CVE-2026-124679 (7.8): an unauthenticated client can spoof data the upstream trusts, under certain jwe-decrypt or forward-auth settings.
- APISIX CVE-2026-124680 (7.0): encoded dot segments reach protected upstream paths.
- The other five APISIX bugs cover partial permission checks, leftover identity headers and mTLS bypasses. Two, introduced in 3.19.0, affect OpenAPI-based routes including the MCP endpoint.
- DataSketches C++ (2.0.0 through 5.3.0): two out-of-bounds writes when sketches from untrusted sources are deserialized, which can corrupt heap memory.
Remediação
- Upgrade Shiro to 3.0.2. Version 3.0.1 fixes CVE-2026-129349 by no longer installing AllowAllCredentialsMatcher by default, but the other Shiro flaws need 3.0.2.
- Until patched, disable authentication caching on LDAP realms.
- Upgrade APISIX to 3.20.0 and review routes using jwe-decrypt, forward-auth with degradation, or multi-auth.
- Upgrade DataSketches C++ to 5.3.1 and avoid loading untrusted sketches.
Linha do tempo
-
Apache Shiro LDAP auth bypass CVE-2026-129349 (CVSS 9.1) fixed in 17-flaw Apache batch across Shiro, APISIX, DataSketches
ler a análise desta fonte ocultar
The Apache Software Foundation disclosed 17 vulnerabilities on November 13-14, 2026 across Apache Shiro, Apache APISIX and Apache DataSketches C++. The most severe is CVE-2026-129349, an authentication bypass in Shiro's DefaultLdapRealm and JndiLdapRealm rated CVSS 9.1. After one successful login, later logins for that user succeed with any password. The article reports no confirmed exploitation, no public proof-of-concept and no CISA KEV listing. The flaw is limited because it needs authentication caching, which is not the default, and the attacker must know a valid username. No vendor advisory or fix PR was checked, so this record rests on the article alone.
Technical Details
- CVE-2026-129349: a cached login skips the LDAP check, and a default credentials matcher accepts any password. Affects Shiro through 3.0.0.
- CVE-2026-74763 (6.3): Shiro role and permission annotations are skipped in some class layouts.
- Other Shiro flaws: session fixation via Remember me, weak cookie attributes in Jakarta EE form saving, XSS in principal tags, and an incomplete earlier fix.
- APISIX CVE-2026-124679 (7.8): an unauthenticated client can spoof data the upstream trusts, under certain jwe-decrypt or forward-auth settings.
- APISIX CVE-2026-124680 (7.0): encoded dot segments reach protected upstream paths.
- The other five APISIX bugs cover partial permission checks, leftover identity headers and mTLS bypasses. Two, introduced in 3.19.0, affect OpenAPI-based routes including the MCP endpoint.
- DataSketches C++ (2.0.0 through 5.3.0): two out-of-bounds writes when sketches from untrusted sources are deserialized, which can corrupt heap memory.
Remediation
- Upgrade Shiro to 3.0.2. Version 3.0.1 fixes CVE-2026-129349 by no longer installing AllowAllCredentialsMatcher by default, but the other Shiro flaws need 3.0.2.
- Until patched, disable authentication caching on LDAP realms.
- Upgrade APISIX to 3.20.0 and review routes using jwe-decrypt, forward-auth with degradation, or multi-auth.
- Upgrade DataSketches C++ to 5.3.1 and avoid loading untrusted sketches.