Apache APISIX authz-keycloak scope mismatch (CVE-2026-124716)
An authenticated user with only one required scope can reach a protected upstream, including methods the authorization server denied.
Incorrect authorization in Apache APISIX before 3.20.0
Apache APISIX incorrectly authorizes routes that require multiple permissions or scopes. An authenticated user who holds any one required permission can reach the protected upstream without the others, including HTTP methods the authorization server denied. This affects APISIX 1.4.0 through 3.19.0.
What to do: Upgrade Apache APISIX to 3.20.0.
| Product | Affected | Fixed in |
|---|---|---|
| Apache APISIX | from 1.4.0 through 3.19.0 | 3.20.0 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Incorrect Authorization vulnerability in Apache APISIX. An authenticated user who holds any one of a route's required permissions or scopes can reach the protected upstream without the others, including HTTP methods the authorization server denied. This issue affects Apache APISIX: from 1.4.0 through 3.19.0. Users are recommended to upgrade to version 3.20.0, which fixes the issue.
An authenticated user with only one required scope can reach a protected upstream, including methods the authorization server denied.
Today 2.5K readers · 2.8K views · 144 reads · all time 206K views