The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-25227

CVE-2026-25227: authentik Identity Provider RCE Vulnerability

CVE-2026-25227 is a remote code execution vulnerability in authentik identity provider that allows users with delegated permissions to execute arbitrary code. This post covers technical details, affected versions, and mitigation.

Published: February 13, 2026

CVE-2026-25227 Overview

A critical code injection vulnerability has been identified in authentik, an open-source identity provider. The flaw exists in the property mapping and expression policy test endpoints, which are designed to preview how these configurations work. Users with delegated permissions to view Property Mapping or Expression Policy can exploit this test endpoint to execute arbitrary code within the authentik server container.

This vulnerability affects authentik versions from 2021.3.1 through versions prior to 2025.8.6, 2025.10.4, and 2025.12.4. The issue stems from improper input sanitization in the expression evaluator component, allowing authenticated users with specific view permissions to escalate their access and achieve remote code execution.

Critical Impact

Authenticated users with delegated view permissions can execute arbitrary code on the authentik server, potentially leading to complete system compromise, data exfiltration, or lateral movement within the network infrastructure.

Affected Products

  • authentik versions from 2021.3.1 to before 2025.8.6
  • authentik versions from 2021.3.1 to before 2025.10.4
  • authentik versions from 2021.3.1 to before 2025.12.4

Discovery Timeline

  • February 12, 2026 - CVE-2026-25227 published to NVD
  • February 12, 2026 - Last updated in NVD database

Technical Details for CVE-2026-25227

Vulnerability Analysis

This vulnerability is classified as CWE-94 (Improper Control of Generation of Code / Code Injection). The flaw resides in the expression evaluator component of authentik, specifically in how user-supplied arguments are sanitized before being processed by the test endpoint.

The test endpoint functionality is designed to allow administrators to preview how property mappings and expression policies will behave. However, the input sanitization mechanism was insufficient, allowing users with the Can view * Property Mapping or Can view Expression Policy permission to craft malicious inputs that bypass the sanitization and execute arbitrary code within the server container context.

The network-accessible nature of this vulnerability combined with the ability to achieve code execution with changed scope makes this particularly dangerous, as a compromised authentik instance could impact all applications and services that rely on it for identity management.

Root Cause

The root cause lies in the sanitize_arg function within authentik/lib/expression/evaluator.py. The original implementation used a simple regex substitution to sanitize argument names, which proved insufficient to prevent code injection attacks. The fix introduces an additional slugify() function call that provides more robust input sanitization by converting the argument to a URL-safe slug format before applying the regex substitution.

Attack Vector

The attack vector requires network access to the authentik instance and authenticated access with delegated permissions. An attacker would need:

  1. Valid credentials with delegated permissions that include Can view * Property Mapping or Can view Expression Policy
  2. Access to the property mapping or expression policy test endpoint
  3. Crafted malicious input designed to bypass the original regex-based sanitization

Once these conditions are met, the attacker can inject and execute arbitrary Python code within the authentik server container, potentially gaining access to sensitive configuration data, secrets, and the ability to manipulate identity and access management decisions.

python
# Security patch from authentik/lib/expression/evaluator.py
# Source: https://github.com/goauthentik/authentik/commit/c691afaef164cf73c10a26a944ef2f11dbb1ac80
 
 
 def sanitize_arg(arg_name: str) -> str:
-    return re.sub(ARG_SANITIZE, "_", arg_name)
+    return re.sub(ARG_SANITIZE, "_", slugify(arg_name))
 
 
 class BaseEvaluator:

Detection Methods for CVE-2026-25227

Indicators of Compromise

  • Unusual API calls to property mapping or expression policy test endpoints from non-administrative users
  • Unexpected process execution or network connections originating from the authentik container
  • Log entries showing access to test endpoints by users with only delegated view permissions
  • Evidence of data exfiltration or lateral movement attempts from the authentik server

Detection Strategies

  • Monitor authentik access logs for requests to property mapping and expression policy test endpoints
  • Implement alerting for users with delegated permissions accessing administrative test functionality
  • Deploy runtime application security monitoring to detect code injection attempts
  • Review audit logs for permission escalation patterns or unusual user activity

Monitoring Recommendations

  • Enable detailed logging for all authentik API endpoints, particularly those related to property mappings and expression policies
  • Configure SIEM rules to correlate access attempts to test endpoints with user permission levels
  • Implement container runtime security monitoring to detect anomalous code execution within the authentik container
  • Establish baseline behavior for test endpoint usage and alert on deviations

How to Mitigate CVE-2026-25227

Immediate Actions Required

  • Upgrade authentik to version 2025.8.6, 2025.10.4, or 2025.12.4 immediately
  • Review and audit all users with delegated Can view * Property Mapping or Can view Expression Policy permissions
  • Monitor for any indicators of compromise on systems running vulnerable authentik versions
  • Consider temporarily restricting access to test endpoints until patches can be applied

Patch Information

Security patches have been released for all supported authentik branches. Organizations should upgrade to one of the following fixed versions:

  • authentik version 2025.8.6
  • authentik version 2025.10.4
  • authentik version 2025.12.4

The fix is tracked in commit c691afaef164cf73c10a26a944ef2f11dbb1ac80. For complete vulnerability details, refer to the GitHub Security Advisory GHSA-qvxx-mfm6-626f.

Workarounds

  • Revoke delegated Can view * Property Mapping and Can view Expression Policy permissions from non-essential users until patching is complete
  • Implement network segmentation to restrict access to the authentik administrative interface
  • Deploy a web application firewall (WAF) with rules to inspect and block potentially malicious payloads to test endpoints
  • Consider implementing additional authentication requirements for accessing administrative functionality
bash
# Example: Audit users with delegated permissions in authentik
# Review the authentik admin panel under System > Users > Permissions
# Remove or restrict "Can view * Property Mapping" and "Can view Expression Policy" 
# permissions from users who do not require them for their role

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechAuthentik

  • SeverityCRITICAL

  • CVSS Score9.1

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Commit Update

  • GitHub Release Version 2025.10.4

  • GitHub Release Version 2025.12.4

  • GitHub Release Version 2025.8.6

  • GitHub Security Advisory GHSA-qvxx-mfm6-626f
  • Related CVEs
  • CVE-2026-25922: authentik SAML Auth Bypass Vulnerability

  • CVE-2026-25748: authentik Auth Bypass Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English