MEDIUMCVSS v4 6.3Vulnerability

CVE-2026-104885

### Summary Cross-realm MQTT session disconnect without authorization ## Vulnerability The `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. File: `manager/src/main/java/org/openremote/manager/security/UserResourceImpl.java`, lines 443-447 ```java @Override public void disconnectUserSession(RequestParams requestParams, String realm, String sessionID) { if (!mqttBrokerService.disconnectSession(sessionID)) { throw new NotFoundException("User session not found"); } } ``` The 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. ## Root Cause CVE-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. ## Proof of Concept Given two realms, "master" and "building": 1. User A authenticates in the "building" realm (any role, no admin needed). 2. User B has an active MQTT session in the "master" realm with session ID `S`. 3. User A sends: `GET /api/master/user/master/disconnect/S` with their building-realm bearer token. 4. The handler ignores the realm path segme

Properties

Severity
medium
Summary
OpenRemote: Cross-realm MQTT session disconnect without authorization
Nvd fetched at
2026-11-22T12:30:49.958423+00:00
Epss score
0.00321
Cvss severity
MEDIUM
Cvss score
6.3
Retrieved at
2026-11-22T12:32:25+00:00
Ghsa published
2026-11-20T14:56:58Z
Source url
https://github.com/advisories/GHSA-3h6w-xcw3-9xjj
Ghsa updated
2026-11-20T14:56:59Z
Ghsa id
GHSA-3h6w-xcw3-9xjj
Last source
FIRST EPSS
Score
6.3
Cvss version
4.0
Cve id
CVE-2026-104885
Cvss vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
First seen by Signal
2026-11-19T23:31:53+00:00
Name
CVE-2026-104885
Is ghsa only
false
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Related Entities (3)

HAS_WEAKNESS (1)

VULNERABLE_TO (1)

Related research

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-104885 (CVSS v4 6.3) — Ninja Signal Threat Intelligence | Ninja Signal