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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-41166

CVE-2026-41166: OpenRemote Privilege Escalation Flaw

CVE-2026-41166 is a privilege escalation vulnerability in OpenRemote IoT platform allowing cross-realm role updates. Attackers can escalate to master realm admin. This article covers technical details, impact, and patches.

Published: April 23, 2026

CVE-2026-41166 Overview

OpenRemote is an open-source internet-of-things (IoT) platform that provides comprehensive device management and automation capabilities. A privilege escalation vulnerability exists in versions prior to 1.22.1 that allows an attacker with write:admin permissions in one Keycloak realm to modify Keycloak realm roles for users in other realms, including the sensitive master realm. This cross-realm authorization bypass occurs because the Manager API handler uses the {realm} path segment when communicating with the identity provider but fails to validate whether the caller has administrative privileges over the targeted realm.

Critical Impact

An attacker who controls any user account in the master realm and has write:admin access in any other realm can escalate privileges to become a master realm administrator, potentially gaining full control over the entire OpenRemote deployment and all connected IoT devices.

Affected Products

  • OpenRemote IoT Platform versions prior to 1.22.1
  • OpenRemote deployments using Keycloak multi-realm configurations
  • OpenRemote instances with cross-realm user access patterns

Discovery Timeline

  • April 22, 2026 - CVE-2026-41166 published to NVD
  • April 23, 2026 - Last updated in NVD database

Technical Details for CVE-2026-41166

Vulnerability Analysis

This vulnerability is classified under CWE-284 (Improper Access Control) and represents a critical authorization bypass in the OpenRemote Manager API. The vulnerability stems from a missing authorization check in the API handler responsible for managing Keycloak realm roles. When processing requests to update user roles, the handler extracts the target realm from the {realm} path segment in the API request and forwards this to the Keycloak identity provider without verifying that the authenticated user possesses administrative privileges over that specific realm.

The attack requires network access and depends on the attacker having an existing write:admin permission in at least one Keycloak realm, as well as controlling a user account in the target realm (such as master). While these prerequisites introduce some complexity, they are achievable in multi-tenant or enterprise deployments where users may have legitimate access to multiple realms with varying privilege levels.

Root Cause

The root cause is an improper access control implementation in the realm role management endpoint. The API handler trusts the {realm} path parameter without performing server-side authorization validation to confirm the requesting user has administrative authority over the specified realm. This allows authenticated users to manipulate the target realm value and perform role assignments outside their authorized scope.

Attack Vector

The attack exploits the network-accessible Manager API by crafting requests that target the master realm or other privileged realms while authenticating with credentials from a less-privileged realm. The attacker sends a role update request specifying the target realm in the path segment, and because no cross-realm authorization check exists, the identity provider executes the role modification. If the attacker controls even a low-privileged user account in the master realm, they can assign themselves administrative roles, achieving full privilege escalation.

The vulnerability mechanism involves the following sequence: An attacker authenticates to the Manager API using credentials with write:admin in their assigned realm. They then craft an API request targeting a different realm (e.g., master) in the path segment. The handler passes this request to Keycloak without validating cross-realm authorization. Keycloak processes the role update, granting the attacker elevated privileges in the target realm.

For detailed technical information, see the GitHub Security Advisory GHSA-49vv-25qx-mg44.

Detection Methods for CVE-2026-41166

Indicators of Compromise

  • Unexpected role assignments or privilege changes in Keycloak realm configurations, particularly in the master realm
  • API logs showing role update requests where the authenticated user's realm differs from the target realm in the request path
  • Audit trail entries indicating cross-realm administrative operations performed by users without explicit multi-realm admin privileges
  • Newly created administrator accounts or elevated privileges for existing accounts in the master realm without corresponding change management records

Detection Strategies

  • Implement API request logging that captures both the authenticated user's realm and the target realm in role management operations
  • Configure Keycloak audit logging to track all role assignment changes, filtering for operations where source and target realms differ
  • Deploy application-level monitoring to alert on any role modifications in the master realm initiated from non-master realm credentials
  • Establish baseline behavioral analytics for administrative API usage patterns to detect anomalous cross-realm activity

Monitoring Recommendations

  • Enable comprehensive audit logging in both OpenRemote and Keycloak to capture all identity management operations
  • Configure SIEM rules to correlate authentication events with subsequent privilege escalation attempts across realm boundaries
  • Implement real-time alerting for any administrative role assignments in high-value realms such as master
  • Regularly review and audit user role assignments across all realms to identify unauthorized privilege elevations

How to Mitigate CVE-2026-41166

Immediate Actions Required

  • Upgrade to OpenRemote version 1.22.1 or later immediately to address the authorization bypass vulnerability
  • Audit all Keycloak realms for unexpected role assignments, particularly administrator roles in the master realm
  • Review API access logs for evidence of cross-realm role manipulation attempts
  • Temporarily restrict network access to the Manager API if immediate patching is not possible

Patch Information

OpenRemote has addressed this vulnerability in version 1.22.1. The patch implements proper authorization validation to ensure that users can only modify roles within realms for which they have explicit administrative privileges. Organizations should upgrade to this version or later by obtaining the release from the OpenRemote Release 1.22.1 page.

Workarounds

  • Restrict write:admin permissions to only essential personnel and realms until the patch can be applied
  • Implement network segmentation to limit Manager API access to trusted internal networks only
  • Configure web application firewall (WAF) rules to inspect and potentially block API requests targeting cross-realm role management endpoints
  • Disable or remove unnecessary realm configurations to reduce the attack surface for cross-realm exploitation

If immediate patching is not feasible, consider implementing network-level controls to restrict API access:

bash
# Example: Restrict Manager API access to trusted networks using iptables
# Adjust the network ranges according to your environment
iptables -A INPUT -p tcp --dport 8080 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 8080 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 8080 -j DROP

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechOpenremote

  • SeverityHIGH

  • CVSS Score7.0

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-284
  • Technical References
  • OpenRemote Release 1.22.1

  • GitHub Security Advisory GHSA-49vv-25qx-mg44
  • Related CVEs
  • CVE-2026-40882: OpenRemote XXE Vulnerability

  • CVE-2026-39842: OpenRemote IoT Platform RCE Vulnerability
Default Legacy - Prefooter | 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