All vulnerabilities

Servers and applications

CVE-2024-52287

Insufficient validation of OAuth scopes for client_credentials and device_code grants

Severity
Medium 6.4
Published
21 Nov 2024
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
2024.8.5, 2024.10.3
Also known as
GHSA-v6m7-8j37-8f4v
Sources
NVD, Project advisories (GitHub)

Description

authentik is an open-source identity provider. When using the client_credentials or device_code OAuth grants, it was possible for an attacker to get a token from authentik with scopes that haven't been configured in authentik. authentik 2024.8.5 and 2024.10.3 fix this issue.

Affected software

SoftwareAffected versions
authentikServers and applications · cpe:a:goauthentik:authentik
  • Every version before 2024.8.5
  • From 2024.10.0 before 2024.10.3
authentikServers and applications · github:goauthentik/authentik
  • Every version before 2024.10.3
  • Every version before 2024.8.5

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2024-52287
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2024-52287
  • GitHub Advisory Database https://github.com/advisories/GHSA-v6m7-8j37-8f4v
  • github.com https://github.com/goauthentik/authentik/security/advisories/GHSA-v6m7-8j37-8f4v