Apache Shiro and APISIX flaws allow authentication bypass
Original title: Apache Shiro and APISIX Security Flaws Let Attackers Bypass Authentication and Gain Unauthorized Access
Shiro through 3.0.0 is critical only with LDAP caching on; APISIX 3.18.0–3.19.0 is fixed in 3.20.0.
Apache disclosed two configuration-dependent authentication-bypass flaws. CVE-2026-129349 in Shiro through 3.0.0 lets someone who knows a valid username log in when an LDAP realm caches authentication, because AllowAllCredentialsMatcher then accepts any password. CVE-2026-124679 in APISIX 3.18.0 through 3.19.0 lets a client supply an identity header that upstream services treat as gateway-decrypted plaintext. Fixes are Shiro 3.0.1 and APISIX 3.20.0. The report does not describe exploitation.
- The Shiro flaw scores 9.1 and requires non-default LDAP authentication caching.
- Shiro 3.0.1 no longer installs AllowAllCredentialsMatcher by default.
- APISIX 3.18.0 through 3.19.0 scores 7.8 and is fixed in 3.20.0.
- Spoofing needs jwe-decrypt with strict false, or forward-auth degradation.
Impact: authentication bypass without valid credentials
| Product | Affected | Fixed in |
|---|---|---|
| Apache Shiro | through 3.0.0 (shiro-core) | 3.0.1 |
| Apache APISIX | 3.18.0 through 3.19.0 | 3.20.0 |
- 1.Upgrade Apache Shiro to 3.0.1 or later.
- 2.Disable LDAP authentication caching or use a stricter credentials matcher.
- 3.Upgrade Apache APISIX to 3.20.0.
- Vendors
- Apache
- Products
- Apache ShiroApache APISIX
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-124679 | Authentication bypass by spoofing in Apache APISIX | 7.8 | — | ||
| CVE-2026-129349 | Any-password login in Apache Shiro LDAP realm with auth caching | 9.1 | — |
From the original article
7 min read at gbhackers.com
Two Apache projects have disclosed authentication bypass vulnerabilities. One is a critical flaw in Apache Shiro’s LDAP realm. The other is a high-severity identity spoofing issue in the Apache APISIX API gateway.
By Divya · gbhackers.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.