CVE-2026-56120: OpenRemote Manager RemoveAlarms Cross-realm IDOR (bulk Delete) Vulnerability

CRITICAL
Advisory Identifier: GHSA-h3m5-97jq-qjrf
CVSS 9.6
CWE-639
Published
Advisory Summary

CVE-2026-56120 is a CRITICAL (CVSS 9.6) removealarms cross-realm idor (bulk delete) vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting OpenRemote Manager libraries in the Maven ecosystem. The issue involves removealarms cross-realm idor (bulk delete). Remediation is available by upgrading affected packages to version 1.25.0.

CVE-2026-56120 at a Glance

CVE Identifier CVE-2026-56120
GHSA Identifier GHSA-h3m5-97jq-qjrf
Severity CRITICAL
CVSS v3.1 Base Score 9.6
CWE Classification CWE-639: Authorization Bypass Through User-Controlled Key
Affected Product OpenRemote Manager
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.6

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality None (C:N)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-56120

To remediate this vulnerability, upgrade all affected OpenRemote Manager dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

io.openremote:openremote-manager fixed: 1.25.0
<dependency>
    <groupId>io.openremote</groupId>
    <artifactId>openremote-manager</artifactId>
    <version>1.25.0</version>
</dependency>
Verify Direct and Transitive Dependencies

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-56120, 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 Manager in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.25.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-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In OpenRemote Manager, 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

### Summary OpenRemote Manager is vulnerable to a cross-tenant Insecure Direct Object Reference (IDOR) in the bulk alarm deletion endpoint. An authenticated user in any realm can delete alarms belonging to other realms (tenants) by supplying arbitrary alarm IDs. The vulnerability exists because the bulk removeAlarms() method only verifies that the caller's own realm is active and accessible, but never checks whether the targeted alarm IDs belong to the caller's realm before deleting them. This allows any user with alarm write permissions in their own realm to permanently destroy alarm records — including safety-critical and security alerts — belonging to any other tenant on the same OpenRemote installation. ------------------------------------------ [Additional Information] The singular removeAlarm() method correctly validates that the target alarm's realm matches the caller's access: // CORRECT (singular): SentAlarm alarm = alarmService.getAlarm(alarmId); if (!isRealmActiveAndAccessible(alarm.getRealm())) { throw new ForbiddenException(...); } The plural removeAlarms() method is missing this per-alarm realm check and only validates the caller's own realm — a check that is trivially satisfied for any authenticated user: ``` // VULNERABLE (plural): public void removeAlarms(RequestParams requestParams, List<Long> alarmIds) { if (!isRealmActiveAndAccessible(getAuthenticatedRealmName())) { throw new ForbiddenException(...); // always passes for any auth user } List<SentAlarm> alarms = alarmService.getAlarms(alarmIds); // no realm filter alarmService.removeAlarms(alarms, alarmIds); // no realm filter } ``` The underlying service queries contain no realm scoping: ``` // AlarmService.getAlarms(List<Long>): "select sa from SentAlarm sa where sa.id in :ids" // no realm filter // AlarmService.removeAlarms(): "delete from SentAlarm sa where sa.id in :ids" // no realm filter ``` Alarm IDs are sequential auto-increment Long values (JPA @GeneratedValue), making them trivially enumerable. [Vulnerability Type] Insecure Direct Object Reference (IDOR) / Missing Authorization CWE-639: Authorization Bypass Through User-Controlled Key CWE-862: Missing Authorization ------------------------------------------ [Vendor of Product] OpenRemote Inc. (openremote.io) ------------------------------------------ [Affected Product Code Base] OpenRemote Manager - current version as of 2026 (github.com/openremote/openremote) ------------------------------------------ [Affected Component] org.openremote.manager.alarm.AlarmResourceImpl#removeAlarms() org.openremote.manager.alarm.AlarmService#getAlarms(List<Long>) org.openremote.manager.alarm.AlarmService#removeAlarms() File: manager/src/main/java/org/openremote/manager/alarm/AlarmResourceImpl.java File: manager/src/main/java/org/openremote/manager/alarm/AlarmService.java ------------------------------------------ [Attack Type] Remote (authenticated) ------------------------------------------ [CVE Impact Other] Cross-tenant permanent destruction of alarm records, including safety-critical and security alerts in IoT environments. Also enables cross-tenant alarm enumeration (presence disclosure of alarm IDs across all tenants). ------------------------------------------ [Attack Vectors] 1. Attacker registers or obtains any low-privilege account in any realm on the target OpenRemote installation (or uses an existing account). 2. Attacker enumerates alarm IDs belonging to other realms by sending bulk delete requests with sequential IDs (presence confirmed by 404 vs 200 response codes). 3. Attacker issues a single bulk delete request containing IDs of alarms belonging to victim realm(s). 4. Alarms are permanently deleted with no authorization error. PoC: ``` Tenant A (attacker) : realm = "tenant-a" user = attacker@tenant-a.com role = WRITE_ALARMS_ROLE Tenant B (victim) : realm = "tenant-b" alarms with IDs 1174,1173, 1180 exist ``` ``` DELETE /api/smartcity/alarm HTTP/2 Content-Type: application/json [1174,1173, 1180] /// <- alarm ID ``` <img width="1280" height="404" alt="image" src="https://github.com/user-attachments/assets/ffbebea2-2248-42a0-bb22-7a0dc51c78ce" />

CVE-2026-56120 Affected OpenRemote Manager Versions

1 component(s)
Fixed Versions:
1.25.0
Product / Package Ecosystem Affected Versions Fixed Version
io.openremote:openremote-manager
Maven
< 1.25.0
1.25.0

References

Frequently Asked Questions

What is CVE-2026-56120?
CVE-2026-56120 is a security vulnerability in OpenRemote Manager involving removeAlarms cross-realm IDOR (bulk delete) under CWE-639: Authorization Bypass Through User-Controlled Key.
Which OpenRemote Manager versions are affected?
Affected versions include releases prior to 1.25.0 across affected packages: io.openremote:openremote-manager.
What version fixes CVE-2026-56120?
Upgrading to 1.25.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is openremote-manager affected?
Yes, io.openremote:openremote-manager is affected in releases prior to 1.25.0. Upgrade your dependency to 1.25.0 or later.
What is the CVSS score of CVE-2026-56120?
CVE-2026-56120 has a CVSS v3.1 base score of 9.6 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H.
What CWE is associated with CVE-2026-56120?
CVE-2026-56120 is classified under CWE-639: Authorization Bypass Through User-Controlled Key (The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.).
How can I check Maven dependencies for CVE-2026-56120?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.openremote'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-h3m5-97jq-qjrf",
  "modified" : "2026-09-24T18:24:04Z",
  "published" : "2026-06-19T21:43:17Z",
  "aliases" : [ "CVE-2026-56120" ],
  "summary" : "OpenRemote Manager: removeAlarms cross-realm IDOR (bulk delete)",
  "details" : "### Summary\nOpenRemote Manager is vulnerable to a cross-tenant Insecure Direct\nObject Reference (IDOR) in the bulk alarm deletion endpoint. An\nauthenticated user in any realm can delete alarms belonging to other\nrealms (tenants) by supplying arbitrary alarm IDs. The vulnerability\nexists because the bulk removeAlarms() method only verifies that the\ncaller's own realm is active and accessible, but never checks whether\nthe targeted alarm IDs belong to the caller's realm before deleting\nthem.\n\nThis allows any user with alarm write permissions in their own realm\nto permanently destroy alarm records — including safety-critical and\nsecurity alerts — belonging to any other tenant on the same OpenRemote\ninstallation.\n\n------------------------------------------\n\n[Additional Information]\nThe singular removeAlarm() method correctly validates that the\ntarget alarm's realm matches the caller's access:\n\n    // CORRECT (singular):\n    SentAlarm alarm = alarmService.getAlarm(alarmId);\n    if (!isRealmActiveAndAccessible(alarm.getRealm())) {\n        throw new ForbiddenException(...);\n    }\n\nThe plural removeAlarms() method is missing this per-alarm realm\ncheck and only validates the caller's own realm — a check that is\ntrivially satisfied for any authenticated user:\n\n```\n // VULNERABLE (plural):\npublic void removeAlarms(RequestParams requestParams, List<Long> alarmIds) {\n    if (!isRealmActiveAndAccessible(getAuthenticatedRealmName())) {  \n        throw new ForbiddenException(...);  // always passes for any auth user\n    }\n    List<SentAlarm> alarms = alarmService.getAlarms(alarmIds);  // no realm filter\n    alarmService.removeAlarms(alarms, alarmIds);                // no realm filter\n}\n\n```\nThe underlying service queries contain no realm scoping:\n\n   ```\n // AlarmService.getAlarms(List<Long>):\n    \"select sa from SentAlarm sa where sa.id in :ids\"\n    // no realm filter\n\n    // AlarmService.removeAlarms():\n    \"delete from SentAlarm sa where sa.id in :ids\"\n    // no realm filter\n\n```\nAlarm IDs are sequential auto-increment Long values (JPA\n@GeneratedValue), making them trivially enumerable.\n\n[Vulnerability Type]\nInsecure Direct Object Reference (IDOR) / Missing Authorization\nCWE-639: Authorization Bypass Through User-Controlled Key\nCWE-862: Missing Authorization\n\n------------------------------------------\n\n[Vendor of Product]\nOpenRemote Inc. (openremote.io)\n\n------------------------------------------\n\n[Affected Product Code Base]\nOpenRemote Manager - current version as of 2026\n(github.com/openremote/openremote)\n\n------------------------------------------\n\n[Affected Component]\norg.openremote.manager.alarm.AlarmResourceImpl#removeAlarms()\norg.openremote.manager.alarm.AlarmService#getAlarms(List<Long>)\norg.openremote.manager.alarm.AlarmService#removeAlarms()\n\nFile: manager/src/main/java/org/openremote/manager/alarm/AlarmResourceImpl.java\nFile: manager/src/main/java/org/openremote/manager/alarm/AlarmService.java\n\n------------------------------------------\n\n[Attack Type]\nRemote (authenticated)\n\n------------------------------------------\n\n[CVE Impact Other]\nCross-tenant permanent destruction of alarm records, including\nsafety-critical and security alerts in IoT environments. Also enables\ncross-tenant alarm enumeration (presence disclosure of alarm IDs\nacross all tenants).\n\n------------------------------------------\n\n[Attack Vectors]\n1. Attacker registers or obtains any low-privilege account in any realm\n   on the target OpenRemote installation (or uses an existing account).\n2. Attacker enumerates alarm IDs belonging to other realms by sending\n   bulk delete requests with sequential IDs (presence confirmed by\n   404 vs 200 response codes).\n3. Attacker issues a single bulk delete request containing IDs of\n   alarms belonging to victim realm(s).\n4. Alarms are permanently deleted with no authorization error.\n\nPoC:\n\n```\nTenant A (attacker) : realm = \"tenant-a\"\n                      user  = attacker@tenant-a.com\n                      role  = WRITE_ALARMS_ROLE\n\nTenant B (victim)   : realm = \"tenant-b\"\n                      alarms with IDs 1174,1173, 1180 exist\n```\n\n\n\n```\nDELETE /api/smartcity/alarm HTTP/2\nContent-Type: application/json\n\n\n[1174,1173, 1180]  /// <- alarm ID \n```\n\n<img width=\"1280\" height=\"404\" alt=\"image\" src=\"https://github.com/user-attachments/assets/ffbebea2-2248-42a0-bb22-7a0dc51c78ce\" />",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.openremote:openremote-manager"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.25.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/openremote/openremote/security/advisories/GHSA-h3m5-97jq-qjrf"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-56120"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openremote/openremote/commit/9fad55e5a448c82772d241d395826e5d6fe1ce2d"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openremote/openremote"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openremote/openremote/blob/master/manager/src/main/java/org/openremote/manager/alarm/AlarmResourceImpl.java"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openremote/openremote/blob/master/manager/src/main/java/org/openremote/manager/alarm/AlarmService.java"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openremote/openremote/releases/tag/1.25.0"
  }, {
    "type" : "WEB",
    "url" : "https://www.vulncheck.com/advisories/openremote-idor-via-bulk-alarm-deletion-endpoint"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-639" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-19T21:43:17Z",
    "nvd_published_at" : null
  }
}