CVE-2026-41166 HIGH

CVE-2026-41166: OpenRemote has Improper Access Control via updateUserRealmRoles function

Vendor Openremote
Product openremote
Weakness CWE-284
Published April 22, 2026
Last update April 28, 2026

CVSS base score

7.0/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality Low
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 22, 2026 CVE published
April 28, 2026 Record updated