llamaCVEVulnerability Intelligence
/
authentik

CVE-2026-40172

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

Specific setups onlyParche disponibleprivilege escalation
Descargar PNG JSON
CVSS 3.1
8.1
Alta
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versiones2025.12.5 · 2026.2.3
Exposición180 dDesde la divulgación, 22 may 2026, 2:00 p. m.
Detección178 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Monitoreo
Detectada
Fuente: OSV +1
22 may 26
17 nov 26
18 nov 26
19 nov 26
22 may 26
6 jul 26
21 ago 26
5 oct 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-40172 divulgada · CVSS 8.1 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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.

Affects authentik before 2025.12.5 and from 2026.2.0-rc1 before 2026.2.3, where a caller with change_user on a target user can add users to superuser groups. Fixed in 2025.12.5 and 2026.2.3.

¿Qué significa?Users with delegated group or user-management permissions can add themselves or other users to superuser groups, which gives administrator-equivalent privilege. The bug is that the user PATCH endpoint allows this even when enable_group_superuser would otherwise block it.
¿Quién está afectado?Versions before 2025.12.5, and 2026.2.0-rc1 up to but not including 2026.2.3. Check the installed authentik version against these ranges. The exposed setup is a caller holding change_user permission on a target user.
¿Qué hacer?Upgrade to 2025.12.5 or later on the 2025.12 line, or to 2026.2.3 or later on the 2026.2 line.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
A caller must hold change_user permission on the target user.“PATCH /api/v3/core/users/{pk}/ allows a caller with change_user on a target user”
¿Quién debe revisar?Teams running authentik identity provider, especially those delegating user-management or group-update permissions to non-administrators.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
authentik< 2025.12.5
authentik≥ 2026.2.0-rc1 < 2026.2.3
2025.12.5
2026.2.0-rc1
2026.2.3
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
authentik
Corregida 2025.12.5, 2026.2.3 — —
Versiones corregidas2025.12.52026.2.3
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/goauthentik/authentik/security/advisories/GHSA-h6x7-hjjc-wjc9
Otrahttps://github.com/goauthentik/authentik/releases/tag/version%2F2025.12.5
Otrahttps://github.com/goauthentik/authentik/releases/tag/version%2F2026.2.3

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.