Public vulnerability disclosure

CVE-2026-41166

CVE-2026-41166

publishedCWE-284

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.

Technical severity7.0 highCVSS 3.1 · NVD: [email protected]
Published2026-04-22Source updated 2026-11-11
Collected2026-11-122 attributed sources

Fixes and workarounds

Fix

io.openremote:openremote-manager (Maven): OSV reports a fixed version 1.22.1. Check the advisory for supported release branches.

Source: OSV GHSA-49vv-25qx-mg44

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
openremote
openremote
< 1.22.1 (affected, custom) NVD
io.openremote:openremote-manager

io.openremote:openremote-manager
Maven
1.10.0 (affected, Maven)
1.11.0 (affected, Maven)
1.11.1 (affected, Maven)
1.11.2 (affected, Maven)
1.11.3 (affected, Maven)
1.12.0 (affected, Maven)
1.12.1 (affected, Maven)
1.12.3 (affected, Maven)
1.13.0 (affected, Maven)
1.13.1 (affected, Maven)
1.14.0 (affected, Maven)
1.15.0 (affected, Maven)
1.15.1 (affected, Maven)
1.15.2 (affected, Maven)
1.16.1 (affected, Maven)
1.17.0 (affected, Maven)
1.17.1 (affected, Maven)
1.17.2 (affected, Maven)
1.17.3 (affected, Maven)
1.18.0 (affected, Maven)
1.19.0 (affected, Maven)
1.2.0 (affected, Maven)
1.2.1 (affected, Maven)
1.2.2 (affected, Maven)
1.2.3 (affected, Maven)
1.2.4 (affected, Maven)
1.20.0 (affected, Maven)
1.20.1 (affected, Maven)
1.20.2 (affected, Maven)
1.21.0 (affected, Maven)
1.22.0 (affected, Maven)
1.3.0 (affected, Maven)
1.3.1 (affected, Maven)
1.3.2 (affected, Maven)
1.3.3 (affected, Maven)
1.3.4 (affected, Maven)
1.3.5 (affected, Maven)
1.4.0 (affected, Maven)
1.5.0 (affected, Maven)
1.6.0 (affected, Maven)
1.6.2 (affected, Maven)
1.6.3 (affected, Maven)
1.6.4 (affected, Maven)
1.6.5 (affected, Maven)
1.7.0 (affected, Maven)
1.8.0 (affected, Maven)
1.8.1 (affected, Maven)
1.9.0 (affected, Maven)
Ecosystem version events: introduced 0; fixed 1.22.1
Source events (ECOSYSTEM)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "1.22.1"
  }
]

Other versions: unaffected
OSV GHSA-49vv-25qx-mg44

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

NVD applicability configurations (1)

These expressions retain AND/OR operators, negation, and required environmental products. A listed product is not sufficient to establish exposure when additional conditions apply.

[
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:openremote:openremote:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "1.22.1",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  }
]

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 7.0
high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:LNVD: [email protected]

Exploit evidence

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide