CVE-2024-23647Goauthentik Authentik
High 8.8 No auth needed
Follow: this CVE · Goauthentik · Goauthentik Authentik We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 51
- Auth required
- No
- Published
- Jan 30, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Authentik.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | goauthentik.io |
≥ 2023.10.0 < 2023.10.7 |
2023.10.7 |
go get goauthentik.io@v2023.10.7 |
| Go | goauthentik.io |
< 2023.8.7 |
2023.8.7 |
go get goauthentik.io@v2023.8.7 |
| Go | goauthentik.io |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-mrx3-gxjx-hjqj, GO-2024-2479). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| goauthentik | authentik | < 2023.8.7 |
| goauthentik | authentik | ≥ 2023.10.0 < 2023.10.7 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Third Party Advisory