{"id":"CVE-2026-41166","aliases":["GHSA-49vv-25qx-mg44"],"url":"https://o3.security/vulnerability/CVE-2026-41166","summary":"OpenRemote has Improper Access Control via updateUserRealmRoles function","details":"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.","published":"2026-04-22T20:31:29.234Z","modified":"2026-08-07T21:27:25.798057Z","cvss":{"score":7,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"io.openremote:openremote-manager","fixedVersion":"1.22.1"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/openremote/openremote/releases/tag/1.22.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41166.json"},{"type":"ADVISORY","url":"https://github.com/openremote/openremote/security/advisories/GHSA-49vv-25qx-mg44"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41166"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T21:27:25.798057Z"}}