CVE-2026-41166

published 22 Apr 2026 · updated 11 Nov 2026

OpenRemote has Improper Access Control via updateUserRealmRoles function

8.0HighCVSS 7.0EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.22.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
openremoteopenremote<1.22.11.22.1
openremote<1.22.1

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-41166 severity on Zeptric[![CVE-2026-41166](https://zeptric.io/badge/cve/CVE-2026-41166.svg)](https://zeptric.io/cve/CVE-2026-41166)