CVE-2026-40172HIGH 8.1EPSS p36.6%

CVE-2026-40172CVE-2026-40172

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.

Scoring

CVSS 3.18.1 (HIGH)
VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
EPSS0.46% probability of exploitation · percentile 36.6% · 2026-06-19T12:03:05Z
Published2026-05-22
Last modified2026-05-22

Underlying weaknesses· 1

CWE-269

References

  1. https://github.com/goauthentik/authentik/releases/tag/version%2F2025.12.5
  2. https://github.com/goauthentik/authentik/releases/tag/version%2F2026.2.3
  3. https://github.com/goauthentik/authentik/security/advisories/GHSA-h6x7-hjjc-wjc9

1

TypeTargetConfidenceTier
WeaknessImproper Privilege Managementcwe-2690%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-49443
CVE
CVE-2026-40165
CVE
CVE-2026-30269
CVE
CVE-2026-49448
CVE
CVE-2025-29928
CVE
CVE-2026-47201
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.