Vulnerabilities in pkg:maven/io.openremote/openremote-manager
PACKAGECVE-2026-104885 is a MODERATE cross-realm mqtt session disconnect without vulnerability (CWE-862: Missing Authorization) affecting OpenRemote libraries in the Maven ecosystem. The issue involves cross-realm mqtt session disconnect without authorization. Remediation is available by upgrading affected packages to version 1.31.0.
pkg:maven/io.openremote/openremote-manager
Vulnerability advisories affecting package pkg:maven/io.openremote/openremote-manager. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-3h6w-xcw3-9xjj | CVE-2026-104885 | MODERATE | OpenRemote: Cross-realm MQTT session disconnect without authorization |
| GHSA-xqr9-4wvv-gvch | CVE-2026-54641 | HIGH | OpenRemote has Cross-Realm User Information Disclosure in UserResourceImpl |
| GHSA-h3m5-97jq-qjrf | CVE-2026-56120 | CRITICAL | OpenRemote Manager: removeAlarms cross-realm IDOR (bulk delete) |
| GHSA-vjr9-f93j-mjr7 | - | HIGH | Duplicate Advisory: OpenRemote Manager: removeAlarms cross-realm IDOR (bulk delete) |
| GHSA-cgfv-jrfp-2r7v | - | HIGH | OpenRemote has Authenticated SQL Injection via Datapoint Crosstab Export |
| GHSA-xj53-j257-hxvg | CVE-2026-49439 | MODERATE | OpenRemote read-only asset users can write predicted datapoints |
| GHSA-49vv-25qx-mg44 | CVE-2026-41166 | HIGH | OpenRemote has Improper Access Control via updateUserRealmRoles function |
| GHSA-g24f-mgc3-jwwc | CVE-2026-40882 | HIGH | OpenRemote has XXE in Velbus Asset Import |
| GHSA-7mqr-33rv-p3mp | CVE-2026-39842 | CRITICAL | Expression Injection in OpenRemote |
CVE-2026-104885 at a Glance
How to Fix CVE-2026-104885
To remediate this vulnerability, upgrade all affected OpenRemote dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>io.openremote</groupId>
<artifactId>openremote-manager</artifactId>
<version>1.31.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.openremote
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-104885, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.openremote
Analyze the terminal output to locate any version of OpenRemote in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.31.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.openremote command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In OpenRemote, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-104885 Affected OpenRemote Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.openremote:openremote-manager
|
Maven |
< 1.31.0
|
1.31.0
|
References
Frequently Asked Questions
What is CVE-2026-104885?
Which OpenRemote versions are affected?
What version fixes CVE-2026-104885?
Is openremote-manager affected?
What CWE is associated with CVE-2026-104885?
How can I check Maven dependencies for CVE-2026-104885?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3h6w-xcw3-9xjj",
"modified" : "2026-11-20T14:56:58Z",
"published" : "2026-11-20T14:56:58Z",
"aliases" : [ "CVE-2026-104885" ],
"summary" : "OpenRemote: Cross-realm MQTT session disconnect without authorization",
"details" : "### Summary\n\nCross-realm MQTT session disconnect without authorization\n\n## Vulnerability\n\nThe `disconnectUserSession` endpoint in `UserResourceImpl.java` (line 443) accepts a `realm` path parameter but ignores it entirely, performing no authorization or realm-boundary check before force-disconnecting an MQTT session. Any authenticated user from any realm can disconnect MQTT broker sessions belonging to users in other realms by supplying the target session ID.\n\nFile: `manager/src/main/java/org/openremote/manager/security/UserResourceImpl.java`, lines 443-447\n\n```java\n@Override\npublic void disconnectUserSession(RequestParams requestParams, String realm, String sessionID) {\n if (!mqttBrokerService.disconnectSession(sessionID)) {\n throw new NotFoundException(\"User session not found\");\n }\n}\n```\n\nThe REST interface at `model/src/main/java/org/openremote/model/security/UserResource.java` (line 201-204) maps this to `GET {realm}/disconnect/{sessionID}` with no `@RolesAllowed` annotation, so any authenticated user (not just admins) can call it.\n\n## Root Cause\n\nCVE-2026-54641 (commit de89b8d) fixed cross-realm information disclosure in three read methods of the same file (`get()`, `getUserClientRoles()`, `getUserRealmRoles()`) and also added a realm check to `getClientRoles()`. The fix added `throwIfCannotReadUserInRealm()` and `throwIfCannotAdminRealm()` guards. However, `disconnectUserSession` was not patched and remains unprotected. Every other mutating method in this class has either a `@RolesAllowed` annotation on the interface or an explicit realm check in the implementation. This one has neither.\n\n## Proof of Concept\n\nGiven two realms, \"master\" and \"building\":\n\n1. User A authenticates in the \"building\" realm (any role, no admin needed).\n2. User B has an active MQTT session in the \"master\" realm with session ID `S`.\n3. User A sends: `GET /api/master/user/master/disconnect/S` with their building-realm bearer token.\n4. The handler ignores the realm path segments, looks up session `S` in the global `connectionIDConnectionMap`, and calls `doForceDisconnect()`. User B's MQTT connection is terminated.\n\nSession IDs use the Netty `ChannelId.asLongText()` format (deterministic, partially sequential). While not trivially brute-forceable, IDs can leak through monitoring, logs, or correlated API calls. Within the same realm, any user (not just admins) can also disconnect sessions they should not have access to.\n\n## Impact\n\nIn a multi-tenant IoT deployment, an attacker authenticated in any realm can disrupt MQTT device connectivity in other realms. Since OpenRemote is used for building management, energy monitoring, and industrial IoT, forcibly disconnecting MQTT sessions can:\n\n- Knock IoT sensors and actuators offline across tenant boundaries\n- Disrupt safety-critical alarm monitoring (compounding the alarm IDOR fixed in CVE-2026-57168)\n- Cause denial of service against other tenants' device fleets\n\nThe method also uses HTTP GET for a destructive operation, making it susceptible to CSRF via image tags or link prefetch.\n\n## Suggested Fix\n\nAdd a realm administration check consistent with the pattern used elsewhere in this file:\n\n```java\n@Override\npublic void disconnectUserSession(RequestParams requestParams, String realm, String sessionID) {\n throwIfCannotAdminRealm(realm);\n\n RemotingConnection connection = mqttBrokerService.getConnectionByID(sessionID);\n if (connection == null) {\n throw new NotFoundException(\"User session not found\");\n }\n\n // Verify the session belongs to a user in the requested realm\n // before disconnecting\n\n if (!mqttBrokerService.disconnectSession(sessionID)) {\n throw new NotFoundException(\"User session not found\");\n }\n}\n```\n\nAt minimum, add `throwIfCannotAdminRealm(realm)` as the first line, and consider adding a `@RolesAllowed(Constants.WRITE_ADMIN_ROLE)` annotation to the interface method. The HTTP method should also be changed from GET to DELETE.\n\n### AI tooling\n\nAI assistance was used for the code audit and for drafting this report. The finding against the project's source at the location cited above was manually verified before reporting it, and the severity and impact assessment are the reporter's own.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.openremote:openremote-manager"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.31.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/openremote/core/security/advisories/GHSA-3h6w-xcw3-9xjj"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-104885"
}, {
"type" : "WEB",
"url" : "https://github.com/openremote/core/commit/51dce18d9e00d671a5e032d942ece186bdada560"
}, {
"type" : "WEB",
"url" : "https://github.com/openremote/core/releases/tag/1.31.0"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openremote/openremote"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-862" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-11-20T14:56:58Z",
"nvd_published_at" : "2026-11-19T20:17:14Z"
}
}