CVE-2026-40172
Last modified
CVE-2026-40172 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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. EPSS estimates a 0.53% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-40172?
How severe is CVE-2026-40172?
How do I fix CVE-2026-40172?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-40166authentik is an open-source identity provider. In versions p…7.1
- CVE-2026-40168Postiz is an AI social media scheduling tool. Prior to 2.21.…8.2
- CVE-2026-40169ImageMagick is free and open-source software used for editin…5.5
- CVE-2026-4017Buffer Overflow in the entry handler of the TraceEvent() sys…7.4
- CVE-2026-40170ngtcp2 is a C implementation of the IETF QUIC protocol. In v…7.5
- CVE-2026-40171In Jupyter Notebook versions 7.0.0 through 7.5.5, JupyterLab…8.4
- CVE-2026-40173Dgraph is an open source distributed GraphQL database. Versi…9.4
- CVE-2026-40174Masa CMS is a content management system forked from Mura CMS…7.1
- CVE-2026-40175Axios is a promise based HTTP client for the browser and Nod…4.8
- CVE-2026-40176Composer is a dependency manager for PHP. Versions 1.0 throu…7.8
- CVE-2026-40177ajenti.plugin.core defines all necessary core elements to al…7.5
- CVE-2026-40178ajenti.plugin.core defines all necessary core elements to al…5.9
Are you affected by CVE-2026-40172?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
