Skip to content
OpenAdvisories
High · 7.0 CVE-2026-41166 EUVD-2026-25096GHSA-49vv-25qx-mg44

OpenRemote has Improper Access Control via updateUserRealmRoles function

Published Apr 22, 2026 · Updated Apr 28, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
openremote openremote < 1.22.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven io.openremote:openremote-manager < 1.22.1 1.22.1 GHSA-49vv-25qx-mg44

References