CVE-2024-23647
HIGH 8.8CVSS 3.1Authentik vulnerable to PKCE downgrade attack
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.
- Published
- 30 Jan 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-287
- Also known as
- BIT-authentik-2024-23647GHSA-mrx3-gxjx-hjqjGO-2024-2479
- Sources
- NVDJSONOSV GHSA-mrx3-gxjx-hjqjJSONOSV GO-2024-2479JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | goauthentik | authentikcpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:* |
< 2023.8.7 | 2023.8.7 |
| NVD | goauthentik | authentikcpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:* |
>= 2023.10.0, < 2023.10.7 | 2023.10.7 |
| OSV | Go | goauthentik.io | >= 2023.10.0, < 2023.10.7 | 2023.10.7 |
| OSV | Go | goauthentik.io | < 2023.8.7 | 2023.8.7 |
| OSV | Go | goauthentik.io | all versions |
References
- https://github.com/goauthentik/authentik/commit/38e04ae12720e5d81b4f7ac77997eb8d1275d31a · Patch, WEB
- https://github.com/goauthentik/authentik/security/advisories/GHSA-mrx3-gxjx-hjqj · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-23647 · ADVISORY
- https://github.com/goauthentik/authentik · PACKAGE
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 30 Jan 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jun 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 29 Jan 2024)