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.

Severity (CVSS 3.1)7.0High
Exploit odds (30 days)0.3%top 78.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Mavenio.openremote:openremote-manager1.22.1GHSA-49vv-25qx-mg44

Affected products (as reported)

VendorProductVersions
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