io.openremote:openremote-manager

CVE-2026-41166

CVE-2026-41166 is a high-severity security vulnerability in io.openremote:openremote-manager (maven), affecting versions < 1.22.1. It is fixed in 1.22.1.

Key facts
CVSS score
7.0
High
Attack vector
Network
Issuing authority
GitHub Advisory Database
Affected package
io.openremote:openremote-manager
Fixed in
1.22.1
Disclosed
2026

Summary

Summary 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. Details In manager/src/main/java/org/openremote/manager/security/UserResourceImpl.java, there is no check to validate if the caller should be able to administer a realm they're trying to update. PoC Create a new Keycloak realm other than master. Add a user and grant that user the OpenRemote client role write:admin. Remember the realm name (call it NEWREALM). In Keycloak realm master, pick a low-privilege user (no admin realm role). Copy that user’s UUID (<master-user-uuid>). Authenticate as the user from step 1 and obtain a Bearer access token (<token>) for NEWREALM. Replace placeholders and run: In the Keycloak Admin Console, realm master, that user, Role mapping. Confirm the admin realm role is assigned. Impact An attacker with the OpenRemote client role write:admin in any realm can call this API with {realm} set to another realm (for example master) and change Keycloak realm roles for users there. That can grant admin on master to a user UUID they target, which gives Keycloak administrator access for the master realm.

Impact

Severity and exposure

CVE-2026-41166 has a CVSS score of 7.0 (High). The vector is network-reachable, no privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment.

A fixed version is available (1.22.1). Upgrading removes the vulnerable code path.

Affected versions

maven

  • io.openremote:openremote-manager (< 1.22.1)

Security releases

  • io.openremote:openremote-manager → 1.22.1 (maven)
Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.

Kodem's runtime-powered SCA identifies whether CVE-2026-41166 is reachable in your applications. Explore open-source security for your team.

See if CVE-2026-41166 is reachable in your applications. Get a demo

Already deployed Kodem? See CVE-2026-41166 in your environment

Remediation advice

Upgrade io.openremote:openremote-manager to 1.22.1 or later to resolve this vulnerability.

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently asked questions about CVE-2026-41166

What is CVE-2026-41166?

CVE-2026-41166 is a high-severity security vulnerability in io.openremote:openremote-manager (maven), affecting versions < 1.22.1. It is fixed in 1.22.1.

How severe is CVE-2026-41166?

CVE-2026-41166 has a CVSS score of 7.0 (High). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.

Which versions of io.openremote:openremote-manager are affected by CVE-2026-41166?

io.openremote:openremote-manager (maven) versions < 1.22.1 is affected.

Is there a fix for CVE-2026-41166?

Yes. CVE-2026-41166 is fixed in 1.22.1. Upgrade to this version or later.

Is CVE-2026-41166 exploitable, and should I be worried?

Whether CVE-2026-41166 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo

What actually determines whether CVE-2026-41166 is exploitable, and how bad it is?

Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.

How do I fix CVE-2026-41166?

Upgrade io.openremote:openremote-manager to 1.22.1 or later.

Stop the waste.
Protect your environment with Kodem.