CVE-2024-23647: PKCE downgrade attack in Authentik
Vulnerability summary
CVE-2024-23647 is a high (CVSS 8.8) Improper Authentication vulnerability in goauthentik authentik. EPSS estimates a 0.55% chance of exploitation in the next 30 days, higher than 45.9% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 30-01-2024PublishedVulnerability first disclosed.
- 17-06-2025Last modifiedVulnerability information updated.
Description
Authentik is an open-source Identity Provider. There is a bug in our implementation of PKCE that allows an attacker to circumvent the protection that PKCE offers. PKCE adds the code_challenge parameter to the authorization request and adds the code_verifier parameter to the token request. Prior to 2023.8.7 and 2023.10.7, a downgrade scenario is possible: if the attacker removes the code_challenge parameter from the authorization request, authentik will not do the PKCE check. Because of this bug, an attacker can circumvent the protection PKCE offers, such as CSRF attacks and code injection attacks. Versions 2023.8.7 and 2023.10.7 fix the issue.
CVSS metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:NDiffers
- OSV · GoEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:NDiffers
EPSS trend
Probability
0.55%
Chance of exploitation in the next 30 days
Percentile
46%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.54% 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
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Go1 product
- goauthentik.io≥ 2023.10.0, < 2023.10.7 | < 2023.8.7 | All versions (No fix recorded)
Goauthentik1 product
- authentik< 2023.8.7 | ≥ 2023.10.0, < 2023.10.7
2 vendors · 2 products
References
4 links- github.com/goauthentik/authentik/security/advisories/GHSA-mrx3-gxjx-hjqjX Refsource CONFIRMWEBAdvisoryThird Party Advisory
- github.com/goauthentik/authentik/commit/38e04ae12720e5d81b4f7ac77997eb8d1275d31aX Refsource MISCWEBPatch