๐Ÿ” CVE Alert

CVE-2026-40172

HIGH 8.1

authentik: Privilege Escalation via User PATCH: Superuser Group Assignment Bypasses enable_group_superuser

CVSS Score
8.1
EPSS Score
0.0%
EPSS Percentile
0th

authentik is an open-source identity provider. In versions prior to 2025.12.5 and 2026.2.0-rc1 through 2026.2.2, the PATCH /api/v3/core/users/{pk}/ API allows a caller with change_user on a target user to assign arbitrary groups through UserSerializer, including groups with is_superuser=True, without requiring enable_group_superuser, leading to privilege escalation. This bypasses the stricter permission model enforced in group-management paths and enables delegated user-management permissions to escalate target users to administrator-equivalent privilege. Users with permissions to update groups or permissions to update users are able to add themselves or other users they have permissions on to users which have superuser permissions. This issue has been fixed in versions 22025.12.5 and 2026.2.3.

CWE CWE-269
Vendor goauthentik
Product authentik
Published May 22, 2026
Last Updated May 22, 2026
Stay Ahead of the Next One

Get instant alerts for goauthentik authentik

Be the first to know when new high vulnerabilities affecting goauthentik authentik are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

Affected Versions

goauthentik / authentik
< 2025.12.5 >= 2026.2.0-rc1, < 2026.2.3

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/goauthentik/authentik/security/advisories/GHSA-h6x7-hjjc-wjc9 github.com: https://github.com/goauthentik/authentik/releases/tag/version%2F2025.12.5 github.com: https://github.com/goauthentik/authentik/releases/tag/version%2F2026.2.3