{
  "id": "CVE-2026-41166",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-41166",
  "published_at": "2026-04-22T20:31:29.234Z",
  "title": "OpenRemote has Improper Access Control via updateUserRealmRoles function",
  "vendor": "openremote",
  "product": "openremote",
  "cvss": {
    "score": 7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-284",
  "cpes": [
    "cpe:2.3:a:openremote:openremote:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "openremote",
        "product": "openremote",
        "ranges": [
          "\u003c 1.22.1"
        ],
        "fixed_in": [
          "1.22.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade openremote to 1.22.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/openremote/openremote/security/advisories/GHSA-49vv-25qx-mg44"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/openremote/openremote/releases/tag/1.22.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
