PoC Monitor
← All CVEs
CVE-2026-40172published 22 May 2026 19:00 UTCData: JSON · API

Goauthentik authentik

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.1high · scored by CNA · CWE-269
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

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

Fixed in 2025.12.5, 2026.2.3

Mitigation

Upgrade authentik to 2025.12.5 or 2026.2.3 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published22 May 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.