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.
{
"cwe_ids": [
"CWE-284"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41166.json",
"cna_assigner": "GitHub_M"
}"2026-04-29T12:49:52Z"
[
{
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"251934035670255277689947968565461017183",
"299615980489034397236031457586547942008",
"117676322877541317703836731853899128320",
"237098204049922686863527302705452495602",
"249697615861708996734936966951263384344",
"138484438192112742305351476051444609359",
"142970744098321418686604277213682678691",
"80288050604985277401082417543466509223",
"249524405133918028842978621300191933713",
"85439014895134549720080188140162319130",
"118102796418742001185444349597881435147",
"66312493425627644208772463835720195329",
"321012955766064072973566257686708920328",
"107664221178909685114516741381734212982",
"89649365044303810402660825454923870286",
"220547492557685440471918306199107555632",
"173660870094792541292400959274741800029",
"126587264119479544188213639463275750114",
"134940876968500405225778715561055455554",
"14618910547863859385539471161257932345",
"266973850402441956984968684323221594909",
"13618020404081250185482741469763518082",
"46414950478031200227205823425635304433",
"234831748277701653387385253615509136957",
"143437113404168216642923525715632517497",
"63761865142482496096758811687738019982",
"91381220456512280019999006600680532453"
]
},
"id": "CVE-2026-41166-28a4969d",
"signature_type": "Line",
"target": {
"file": "manager/src/main/java/org/openremote/manager/asset/AssetResourceImpl.java"
},
"source": "https://github.com/openremote/openremote/commit/38b9b55a84fc3b7e582879a56c0e2c2d0d2daf53",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"function_hash": "271442230655842211531282664518353395339",
"length": 488.0
},
"id": "CVE-2026-41166-701d5960",
"signature_type": "Function",
"target": {
"file": "manager/src/main/java/org/openremote/manager/asset/AssetResourceImpl.java",
"function": "updateNoneParent"
},
"source": "https://github.com/openremote/openremote/commit/38b9b55a84fc3b7e582879a56c0e2c2d0d2daf53",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"function_hash": "99004910571964356651713061366659921792",
"length": 511.0
},
"id": "CVE-2026-41166-a2d0d57e",
"signature_type": "Function",
"target": {
"file": "manager/src/main/java/org/openremote/manager/asset/AssetResourceImpl.java",
"function": "updateParent"
},
"source": "https://github.com/openremote/openremote/commit/38b9b55a84fc3b7e582879a56c0e2c2d0d2daf53",
"deprecated": false
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-41166.json"