Security mailing lists by PureSourceCode

CVE-2024-23647

HIGH 8.8CVSS 3.1

Authentik 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD goauthentik authentik
cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:*
< 2023.8.7 2023.8.7
NVD goauthentik authentik
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.