CVE-2023-48228: OAuth2: PKCE can be fully circumvented
CVE-2023-48228 affects 112 listed versions of authentik in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
authentik
112 of 214 listed versions are affected. Fixed in 2023.10.4, 2023.8.5. The newest release, 2026.8.7, is not affected.
2023.10.3 2023.10.2 2023.10.1 2023.10.0 2023.8.4 2023.8.3 2023.8.2 2023.8.1 2023.8.0 2023.6.2 2023.6.1 2023.6.0 2023.5.6 2023.5.5 2023.5.4 2023.5.3 2023.5.2 2023.5.1 2023.5.0 2023.4.3 2023.4.2 2023.4.1 2023.4.0 2023.3.1 2023.3.0 2023.2.3 2023.2.2 2023.2.1 2023.2.0 2023.1.3 2023.1.2 2023.1.1 2023.1.0 2022.12.3 2022.12.2 2022.12.1 2022.12.0 2022.11.4 2022.11.3 2022.11.2 2022.11.1 2022.11.0 2022.10.4 2022.10.3 2022.10.2 2022.10.1 2022.10.0 2022.9.0 2022.8.2 2022.8.1 2022.7.3 2022.7.2 2022.7.1 2022.6.3 2022.6.2 2022.6.1 2022.5.3 2022.5.2 2022.5.1 2022.4.1 and 52 more
What it is
authentik is an open-source identity provider. When initialising a oauth2 flow with a `code_challenge` and `code_method` (thus requesting PKCE), the single sign-on provider (authentik) must check if there is a matching and existing `code_verifier` during the token step. Prior to versions 2023.10.4 and 2023.8.5, authentik checks if the contents of `code_verifier` is matching only when it is provided. When it is left out completely, authentik simply accepts the token request with out it; even when the flow was started with a `code_challenge`. authentik 2023.8.5 and 2023.10.4 fix this issue.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by GitHub on 21 November 2023. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2023-48228 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.