Vulnerability · Published Apr 22, 2026 · Assigned by GitHub_M
CVE-2026-41166OpenRemote has Improper Access Control via updateUserRealmRoles function
High 7.0
In plain English
A high-severity improper access control in openremote from openremote. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | io.openremote:openremote-manager | 1.22.1 | GHSA-49vv-25qx-mg44 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| openremote | openremote | < 1.22.1 |
Weakness: CWE-284 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L
References
- https://github.com/openremote/openremote/security/advisories/GHSA-49vv-25qx-mg44 x_refsource_CONFIRM
- https://github.com/openremote/openremote/releases/tag/1.22.1 x_refsource_MISC