CVE-2026-40172
published high CVSS 3.1 · 8.1authentik: Privilege Escalation via User PATCH: Superuser Group Assignment Bypasses enable_group_superuser
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| goauthentik | — | authentik< 2025.12.5 · >= 2026.2.0-rc1, < 2026.2.3 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| goauthentik | authentik | < 2025.12.5 (affected)>= 2026.2.0-rc1, < 2026.2.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-269 CWE-269: Improper Privilege Management
References
3Provider assertions
2GitHub_M · cna
authentik: Privilege Escalation via User PATCH: Superuser Group Assignment Bypasses enable_group_superuser
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9f38e332d557c2bfe87e8518f534399e24f58442cd2c65a5c818e11541d5a65a
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record