High severity · published Apr 22, 2026
CVE-2026-41166
OpenRemote has Improper Access Control via updateUserRealmRoles function
7.0
CVSS
0.3%
EPSS
No
On KEV
Description
OpenRemote is an open-source internet-of-things platform. Prior to version 1.22.1, a user who has `write:admin` in one Keycloak realm can call the Manager API to update Keycloak realm roles for users in another realm, including `master`. The handler uses the `{realm}` path segment when talking to the identity provider but does not check that the caller may administer that realm. This could result in a privilege escalation to `master` realm administrator if the attacker controls any user in `master` realm. Version 1.22.1 fixes the issue.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
High
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 21% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OP
openremote · openremote
< 1.22.1 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-41166
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-41166
Product
https://github.com/openremote/openremote/releases/tag/1.22.1
Exploit
https://github.com/openremote/openremote/security/advisories/GHSA-49vv-25qx-mg44
More from openremote
9.9
CVE-2026-39842
OpenRemote is Vulnerable to Expression Injection
9.8
CVE-2022-31860
An issue was discovered in OpenRemote through 1.0.4 allows attackers to execute arbitrary code via a crafted Groovy rule
9.3
CVE-2026-66013
OpenRemote before 1.26.2 Authentication Bypass via Console Registration
8.8
CVE-2026-62238
OpenRemote < 1.26.0 SQL Injection via Crosstab Export
8.5
CVE-2026-114661
OpenRemote 1.2.0 before 1.31.0 Missing Authorization in Gateway Tunnel Endpoints
