CVE-2026-25227: authentik affected by Remote Code Execution via Context Key Injection in PropertyMapping Test Endpoint
authentik is an open-source identity provider. From 2021.3.1 to before 2025.8.6, 2025.10.4, and 2025.12.4, when using delegated permissions, a User that has the permission Can view Property Mapping or Can view Expression Policy is able to execute arbitrary code within the authentik server container through the test endpoint, which is intended to preview how a property mapping/policy works. authentik 2025.8.6, 2025.10.4, and 2025.12.4 fix this issue.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-25227?
CVE-2026-25227 has a high severity due to its potential for remote code execution through context key injection.
How do I fix CVE-2026-25227?
To mitigate CVE-2026-25227, upgrade authentik to version 2025.8.6 or later.
Who is affected by CVE-2026-25227?
Users of authentik versions from 2021.3.1 to before 2025.8.6, 2025.10.4, and 2025.12.4 with delegated permissions are affected.
What type of vulnerability is CVE-2026-25227?
CVE-2026-25227 is a remote code execution vulnerability caused by context key injection in the PropertyMapping Test Endpoint.
What should organizations using authentik do about CVE-2026-25227?
Organizations should audit their authentik permissions and ensure they have upgraded to a secure version to prevent exploitation of CVE-2026-25227.