CVE-2026-124679: Apache APISIX Flaw Lets Attackers Spoof Identities

Apache has fixed a high-severity authentication bypass in its APISIX API gateway that could let unauthenticated attackers impersonate legitimate users. The flaw, tracked as CVE-2026-124679, is rated 7.8 out of 10 (high) under CVSS 4.0 and affects Apache APISIX versions 3.18.0 through 3.19.0.
The vulnerability is an authentication bypass by spoofing, classified as CWE-290. It was disclosed on 13 November 2026 and fixed in Apache APISIX 3.20.0. It was reported by Siyang Wu, with the fix coordinated and developed by shreemaan-abhishek.
Forged headers trusted as gateway-verified
The flaw affects routes that use the jwe-decrypt plugin with the strict setting turned off and a forward_header that differs from the token header. In that configuration, an unauthenticated client can supply the header value directly, and the upstream service then treats it as plaintext that the gateway has decrypted and verified.
A similar condition arises with the forward-auth plugin. When allow_degradation is set to true and the external authentication service becomes unavailable, requests can continue through the gateway instead of being blocked, again allowing a client-supplied identity to reach the upstream service unchecked.
The danger is structural. An API gateway is meant to be the single point where identity is checked, so a spoofed header that passes through it can hand an attacker the identity of a legitimate user, with access to whatever that user can reach behind the gateway.
What administrators should do
Apache recommends upgrading to APISIX 3.20.0, which fixes the issue. Administrators who cannot upgrade immediately should review their plugin settings: enable strict mode on the jwe-decrypt plugin, make sure the forward header matches the token header, and turn off allow_degradation on forward-auth so that a failed authentication service fails closed rather than letting requests through.
Upstream services should also be checked to confirm they do not blindly trust identity headers arriving from the gateway. Environments that combine permissive plugin settings with an upstream that trusts those headers face the highest exposure, and gateway access logs should be reviewed for requests carrying unexpected identity headers.
The disclosure is a reminder that gateway plugins deserve the same scrutiny as the applications behind them. APISIX has had identity-handling problems before, including an earlier issue that let attackers cross identity boundaries under specific misconfigurations, and similar trust failures have affected other gateway products. Any deployment that forwards identity information to upstream services should treat the plugin configuration as a security boundary in its own right.
No exploitation in the wild had been reported for CVE-2026-124679 at the time of writing, and it had not been listed in CISA's Known Exploited Vulnerabilities catalogue. The flaw was disclosed alongside a separate critical issue in Apache Shiro, CVE-2026-129349, which affects that project's LDAP login handling.
Source: GBHackers; see also Undercode News.