# CVE-2023-48228: OAuth2: PKCE can be fully circumvented

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.54%, higher than 75% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-11-21T20:48:32.552Z
- Modified: 2026-09-08T08:45:35.507Z
- Also known as: BIT-AUTHENTIK-2023-48228, GHSA-fm34-v8xq-f2c3
- Weaknesses: CWE-287
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- goauthentik authentik: < 2023.10.4; < 2023.8.5; before 2023.8.5; from 2023.10.0 before 2023.10.4
- authentik (Bitnami): before 2023.8.5; from 2023.10.0 before 2023.10.4

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://github.com/goauthentik/authentik/security/advisories/GHSA-fm34-v8xq-f2c3> (exploit, advisory, vendor-advisory)
- <https://github.com/goauthentik/authentik/pull/7666> (fix, patch)
- <https://github.com/goauthentik/authentik/pull/7668> (fix, patch)
- <https://github.com/goauthentik/authentik/pull/7669> (fix, patch)
- <https://github.com/goauthentik/authentik/commit/3af77ab3821fe9c7df8055ba5eade3d1ecea03a6> (fix, patch)
- <https://github.com/goauthentik/authentik/commit/6b9afed21f7c39f171a4a445654cfe415bba37d5> (fix, patch)
- <https://github.com/goauthentik/authentik/commit/b88e39411c12e3f9e04125a7887f12354f760a14> (fix, patch)
- <https://github.com/goauthentik/authentik/blob/dd4e9030b4e667d3720be2feda24c08972602274/authentik/providers/oauth2/views/token.py#L225> (product, web)
- <https://github.com/goauthentik/authentik/releases/tag/version%2F2023.10.4> (article, release-notes)
- <https://github.com/goauthentik/authentik/releases/tag/version%2F2023.8.5> (article, release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-48228> (web)

## Sources

- CVE List: [CVE-2023-48228](https://www.cve.org/CVERecord?id=CVE-2023-48228), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2023-48228](https://nvd.nist.gov/vuln/detail/CVE-2023-48228), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-AUTHENTIK-2023-48228](https://osv.dev/vulnerability/BIT-AUTHENTIK-2023-48228), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-48228 · Whole record: https://cve.day/CVE-2023-48228.json · Rebuilt by cve.day 2026-11-25T22:58:30.636Z
