CVE-2026-25227 PUBLISHED

authentik affected by Remote Code Execution via Context Key Injection in PropertyMapping Test Endpoint

Assigner: GitHub_M
Reserved: 30.01.2026 Published: 12.02.2026 Updated: 12.02.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS Score: 9.1

Product Status

Vendor goauthentik
Product authentik
Versions
  • Version >= 2021.3.1, < 2025.8.6 is affected
  • Version >= 2025.10.0-rc1, < 2025.10.4 is affected
  • Version >= 2025.10.0-rc1, < 2025.12.4 is affected

References

Problem Types

  • CWE-94: Improper Control of Generation of Code ('Code Injection') CWE