All vulnerabilities

Servers and applications

CVE-2023-48228

OAuth2: Insufficient PKCE check

Severity
Critical 9.8
Published
21 Nov 2023
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
2023.8.5, 2023.10.4
Also known as
GHSA-fm34-v8xq-f2c3
Sources
NVD, Project advisories (GitHub)

Description

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…

Affected software

SoftwareAffected versions
authentikServers and applications · cpe:a:goauthentik:authentik
  • Every version before 2023.8.5
  • From 2023.10.0 before 2023.10.4
authentikServers and applications · github:goauthentik/authentik
  • Every version before 2023.10.4
  • Every version before 2023.8.5

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2023-48228
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2023-48228
  • GitHub Advisory Database https://github.com/advisories/GHSA-fm34-v8xq-f2c3
  • github.com https://github.com/goauthentik/authentik/security/advisories/GHSA-fm34-v8xq-f2c3