CVE-2026-41166

HIGH

OpenRemote has Improper Access Control via updateUserRealmRoles function

Title source: cna
STIX 2.1

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.

References (2)

Core 2

Scores

CVSS v3 7.0
EPSS 0.0029
EPSS Percentile 20.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-284
Status published
Products (2)
io.openremote/openremote-manager 0 - 1.22.1Maven
openremote/openremote < 1.22.1 (2 CPE variants)
Published Apr 22, 2026
Tracked Since Apr 23, 2026