{"id":"CVE-2026-41166","published":"2026-04-22T20:31:29Z","modified":"2026-04-28T03:55:21Z","title":"OpenRemote has Improper Access Control via updateUserRealmRoles function","vendor":"openremote","product":"openremote","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00339,"percentile":0.19776,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://github.com/openremote/openremote/security/advisories/GHSA-49vv-25qx-mg44","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openremote/openremote/releases/tag/1.22.1","tags":["x_refsource_MISC"]}],"priority":{"score":8.9,"factors":[{"name":"EPSS percentile","points":3.96},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"openremote","affectedVersions":[{"vendor":"openremote","product":"openremote","versions":["< 1.22.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-24T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"io.openremote:openremote-manager","vulnerableRanges":["<1.22.1"],"patched":["1.22.1"],"from":["GHSA-49vv-25qx-mg44"],"provenance":"source"}],"summary":{"text":"OpenRemote, the open-source internet-of-things platform, contains an improper access control flaw in its updateUserRealmRoles function, where the Manager API uses the {realm} path segment when calling the identity provider without checking that the caller may administer that realm. An attacker holding write:admin in one Keycloak realm, with no further authentication or user interaction needed over the network, could update realm roles for users in another realm, including the master realm, and so escalate privileges to master realm administrator if they control any user in master.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:48Z"},"euvd":{"id":"EUVD-2026-25096","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-39842","published":"2026-04-14","fixed":"1.22.0","kev":false},{"cve":"CVE-2026-40882","published":"2026-04-22","fixed":"1.22.0","kev":false,"link":{"from":"CVE-2026-40882","to":"CVE-2026-41166","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:io.openremote:openremote-manager","fromFixed":"1.22.0","toFixed":"1.22.1","daysApart":0}]}},{"cve":"CVE-2026-41166","published":"2026-04-22","fixed":"1.22.1","kev":false},{"cve":"CVE-2026-49439","published":"2026-09-11","fixed":"1.24.1","kev":false,"link":{"from":"CVE-2026-41166","to":"CVE-2026-49439","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:io.openremote:openremote-manager","fromFixed":"1.22.1","toFixed":"1.24.1","daysApart":142}]}},{"cve":"CVE-2026-54641","published":"2026-10-13","fixed":"1.24.2","kev":false},{"cve":"CVE-2026-104885","published":"2026-11-19","fixed":"1.31.0","kev":false}],"package":"Maven:io.openremote:openremote-manager"}}