CVE-2023-48228: OAuth2: PKCE can be fully circumvented
Vulnerability summary
CVE-2023-48228 is a critical (CVSS 9.8) Improper Authentication vulnerability in goauthentik authentik. EPSS estimates a 1.25% chance of exploitation in the next 30 days, higher than 69.3% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 21-11-2023PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
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 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 metrics
2 scores · 2 sources · 1 version- CVE.orgCNA7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NDiffers
EPSS trend
Probability
1.25%
Chance of exploitation in the next 30 days
Percentile
69%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 1.24% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundAuthentik
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Goauthentik1 product
- authentik< 2023.10.4 | < 2023.8.5 | ≥ 2023.10.0, < 2023.10.4
1 vendor · 1 product
References
10 links- github.com/goauthentik/authentik/security/advisories/GHSA-fm34-v8xq-f2c3X Refsource CONFIRMExploitVendor Advisory
- github.com/goauthentik/authentik/commit/3af77ab3821fe9c7df8055ba5eade3d1ecea03a6X Refsource MISCPatch
- github.com/goauthentik/authentik/commit/6b9afed21f7c39f171a4a445654cfe415bba37d5X Refsource MISCPatch
- github.com/goauthentik/authentik/commit/b88e39411c12e3f9e04125a7887f12354f760a14X Refsource MISCPatch