CVE-2023-48228

Public Exploit
OAuth2: PKCE can be fully circumvented

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.

Category

7.5
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.70% Top 30%
Vendor Advisory github.com
Affected: goauthentik authentik
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-48228?
CVE-2023-48228 has been scored as a high severity vulnerability.
How to fix CVE-2023-48228?
To fix CVE-2023-48228, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-48228 being actively exploited in the wild?
It is possible that CVE-2023-48228 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-48228?
CVE-2023-48228 affects goauthentik authentik.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.