# CVE-2026-41166: CVE-2026-41166

Status: published. Published: 2026-04-22. Updated: 2026-11-11.

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.

## Remediation

- 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) — https://github.com/advisories/GHSA-49vv-25qx-mg44

## Affected products and versions

- openremote / openremote: < 1.22.1 (affected, custom). Source: NVD
-  / io.openremote:openremote-manager (io.openremote:openremote-manager): 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: OSV GHSA-49vv-25qx-mg44

## NVD configuration conditions

Affected CPE matches depend on the following AND/OR and negation conditions:

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

## Severity and prioritization

- CVSS 3.1: 7 (high); CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: exploitation poc; automatable no; technical impact total; source NVD SSVC: 134c704f-9b21-4f2e-91b3-4a467353bcc0

- Weaknesses: CWE-284

## Exploit evidence

- exploit: https://github.com/openremote/openremote/security/advisories/GHSA-49vv-25qx-mg44 (security-advisories@github.com)
- exploit: https://github.com/openremote/openremote/security/advisories/GHSA-49vv-25qx-mg44 (134c704f-9b21-4f2e-91b3-4a467353bcc0)

## References

- https://github.com/openremote/openremote/releases/tag/1.22.1 (security-advisories@github.com; Product, Release Notes)

- https://github.com/openremote/openremote/security/advisories/GHSA-49vv-25qx-mg44 (security-advisories@github.com; Exploit, Vendor Advisory)

- https://github.com/openremote/openremote/security/advisories/GHSA-49vv-25qx-mg44 (134c704f-9b21-4f2e-91b3-4a467353bcc0; Exploit, Vendor Advisory)

- https://github.com/advisories/GHSA-49vv-25qx-mg44 (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-49vv-25qx-mg44 (OSV / GitHub Security Advisories; osv)

## Provenance

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-41166; retrieved 2026-11-12; source updated 2026-11-11

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-49vv-25qx-mg44; retrieved 2026-11-12; source updated 2026-05-05

Revision: 35c8ea0f4d9b51e40aedf904a7dbfd7b7716353cbe03d5ce0f2ebf5990c728a9

Canonical: https://y2.dev/cve/CVE-2026-41166

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.