Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 58%

CVE-2026-40172: CWE-269: Improper Privilege Management in goauthentik authentik

0
High
VulnerabilityCVE-2026-40172cvecve-2026-40172cwe-269
Published: 05/22/2026 (05/22/2026, 19:00:52 UTC)
Source: CVE Database V5
Vendor/Project: goauthentik
Product: authentik

Description

A privilege escalation vulnerability exists in authentik versions prior to 2025.12.5 and between 2026.2.0-rc1 and 2026.2.2. The PATCH /api/v3/core/users/{pk}/ API allows users with change_user permission on a target user to assign arbitrary groups, including those with superuser privileges, without requiring the enable_group_superuser flag. This bypasses stricter permission controls in group management and enables escalation to administrator-equivalent privileges. The issue is fixed in versions 2025.

CVSS v3.1

Score 8.1high

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

Affected software

github.com/goauthentik/authentik
pkg:golang/github.com/goauthentik/authentik
Affected versions
<2025.12.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/29/2026, 20:49:31 UTC

Technical Analysis

authentik, an open-source identity provider, contained an improper privilege management vulnerability (CWE-269) in its user update API. Specifically, the PATCH /api/v3/core/users/{pk}/ endpoint allowed callers with the change_user permission to assign any groups to a user, including groups with is_superuser=True, without enforcing the enable_group_superuser requirement. This flaw bypassed the intended stricter permission checks in group management paths, enabling delegated user-management permissions to escalate privileges to superuser level. The vulnerability affects authentik versions before 2025.12.5 and versions from 2026.2.0-rc1 up to but not including 2026.2.3. The issue has been resolved in versions 2025.12.5 and 2026.2.3.

Potential Impact

An attacker or user with the change_user permission on a target user can escalate privileges by assigning superuser groups to that user. This results in administrator-equivalent access, potentially allowing full control over the authentik system. The vulnerability does not affect confidentiality but has high impact on integrity and availability due to privilege escalation.

Mitigation Recommendations

Upgrade authentik to version 2025.12.5 or later, or to version 2026.2.3 or later. These versions contain the fix that enforces the enable_group_superuser requirement and prevents unauthorized assignment of superuser groups via the PATCH user API. Patch status is confirmed fixed in these versions. No other mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-09T19:31:56.015Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a10ab42e1370fbb483c56ea

Added to database: 05/22/2026, 19:15:14 UTC

Last enriched: 05/29/2026, 20:49:31 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 76

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses