CVE-2026-41166
CVE-2026-41166
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.
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-mg44Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| openremote openremote |
< 1.22.1 (affected, custom) | NVD |
io.openremote:openremote-managerio.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)
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
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 7.0 high |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L | NVD: [email protected] |
Exploit evidence
- https://github.com/openremote/openremote/security/advisories/GHSA-49vv-25qx-mg44
exploit · [email protected] - https://github.com/openremote/openremote/security/advisories/GHSA-49vv-25qx-mg44
exploit · 134c704f-9b21-4f2e-91b3-4a467353bcc0
References
- https://github.com/openremote/openremote/releases/tag/1.22.1[email protected] · Product, Release Notes
- https://github.com/openremote/openremote/security/advisories/GHSA-49vv-25qx-mg44[email protected] · Exploit, Vendor Advisory
- https://github.com/openremote/openremote/security/advisories/GHSA-49vv-25qx-mg44134c704f-9b21-4f2e-91b3-4a467353bcc0 · Exploit, Vendor Advisory
- https://github.com/advisories/GHSA-49vv-25qx-mg44OSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-49vv-25qx-mg44OSV / GitHub Security Advisories · osv
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/cveshttps://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.