Apache APISIX Vulnerability Allows Authentication Bypass
A critical authentication bypass flaw in Apache APISIX versions 3.18.0 to 3.19.0 has been addressed with a patch in version 3.20.0.
ApacheWebIdentity & authVulnerabilitiesKey points
- Apache APISIX versions 3.18.0 to 3.19.0 are vulnerable to an authentication bypass flaw.
- The vulnerability allows unauthenticated users to spoof headers and bypass authentication.
- The issue can be exploited without user interaction or specific privileges.
- A fix is available in version 3.20.0, which should be applied immediately.
A security flaw in Apache APISIX has been identified, allowing an unauthenticated user to bypass authentication mechanisms through spoofing. The vulnerability, tracked as CVE-2026-124679, affects versions 3.18.0 through 3.19.0. The issue arises when the jwe-decrypt feature is used with the strict option set to false, enabling an attacker to supply a header that is treated as decrypted plaintext by the upstream service. A similar risk exists when forward-auth is configured with allowdegradation: true and the authentication service is unavailable. The vulnerability has a high severity rating of 7.8 on the CVSS 4.0 scale, with no user interaction required for exploitation. Apache APISIX recommends upgrading to version 3.20.0 to resolve the issue. The vulnerability was reported by Siyang Wu and coordinated by shreemaan-abhishek. No proof of concept code is available, and the issue was disclosed through the official Apache APISIX website.
What to do
- Upgrade Apache APISIX to version 3.20.0 to mitigate the vulnerability.
- Review configurations for jwe-decrypt and forward-auth to ensure they are set securely.
- Monitor for unauthorized access to services that may have been compromised.
- Ensure that all systems using Apache APISIX are patched and updated.
Original report
“CVE-2026-124679: Apache APISIX: jwe-decrypt and forward-auth may pass a client-supplied identity header”
Posted by Abhishek Choudhary on Nov 13 Severity: CVSS 4.0: 7.8 (high) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:H/SA:N Affected versions: - Apache APISIX 3.18.0 through 3.19.0 Description: Authentication bypass by spoofing vulnerability in Apache APISIX. On routes using jwe-decrypt with strict: false and a forward_header distinct from the token header an unauthenticated client can…
Vulnerabilities mentioned
- Apache Shiro ActiveDirectoryRealm Flaw Allows Login With Empty Username (CVE-2026-137686)
- Ubuntu patches Apache::Session::Browseable so LDAP certificate checks are on by default
- Apache WSS4J Vulnerability Allows Replay Attacks in Certain Configurations
- Apache Shiro Authentication Cache Flaw in DefaultLdapRealm
- Apache APISIX Vulnerability Allows Identity Spoofing