/

CVE-2026-134287

Severity:

HIGH RISK

(7.7)

Authentication Bypass (CWE-287) in OpenRemote MQTT Handler

CVE-2026-134287

Received

Vulnerability type

Category:

Authentication Bypass

CWE:

CWE-287

Impact:

Unauthorized device impersonation and asset access

Severity:

HIGH RISK

(7.7)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

OpenRemote's device provisioning handler may authenticate an anonymous MQTT connection as a provisioned device without verifying possession of that device's private key. An attacker who knows the device's public certificate may be able to impersonate its service account and read or modify assets.

Affected context

The issue is in OpenRemote core's UserAssetProvisioningMQTTHandler provisioning flow. It becomes risky when an unauthenticated MQTT client can publish to the provisioning request topic and the handler accepts a known device's public certificate without requiring proof of private key possession. The described affected releases are those before 1.34.0.

Exploit preconditions

  • Attack surface: The MQTT device-provisioning request topic
  • Required access: Ability to connect anonymously and publish to that topic
  • Trigger point: The handler processes a provisioning request containing a known device's public certificate
  • Why exploitation is possible: The flow does not verify that the requester possesses the corresponding private key before authenticating it as the device's service account

Why this happens

The authentication flow treats knowledge or presentation of a device's public certificate as sufficient evidence of identity. Because it does not require cryptographic proof of possession of the corresponding private key, an unauthenticated requester may be accepted as the device. This is an authentication bypass mapped to CWE-287: Improper Authentication.

Potential impact

  • An attacker could impersonate a provisioned device's service account.
  • The impersonated account may be able to read or modify associated assets.
  • Unauthorized asset changes could affect device data or operational workflows.
  • The incident may undermine confidence in device identity and provisioning controls.

General mitigation guidance

Defensive patterns focus on verifying device identity with cryptographic proof rather than relying on a presented public certificate alone.

  • Require proof of possession of the private key during provisioning or authentication.
  • Bind provisioning requests to authenticated, authorized identities and validate the expected device-to-account relationship.
  • Restrict anonymous MQTT publishing to provisioning topics and apply least-privilege permissions to service accounts.
  • Use secure-by-default topic access policies and minimize the assets each device account can access or modify.
  • Treat device identifiers and public certificates as identifiers, not as secrets or authentication factors.

How teams detect issues like this

Review provisioning code and MQTT broker policies for paths where anonymous clients can publish requests that establish device identity.

  • Use static analysis and code review to find authentication decisions based solely on public identifiers or certificates without proof of private-key possession.
  • Monitor for anonymous provisioning requests, unexpected device-to-account associations, and asset operations from newly established sessions.
  • Enforce policy checks that provisioning topics require authenticated publishers and that device accounts have narrowly scoped permissions.

Sources

SourceLink
github.comgithub.com/openremote/core/security/advisories/GHSA-7jp3-2229-xgqj
vulncheck.comvulncheck.com/advisories/openremote-before-1.34.0-authentication-bypass-via-x-509-mqtt-provisioning

Frequently asked

questions

The described issue concerns OpenRemote's MQTT device-provisioning flow. Exploitation depends on the handler accepting a known device's public certificate without proof of private-key possession.

The attacker needs the ability to connect anonymously to MQTT and publish to the provisioning request topic, as well as knowledge of a provisioned device's public certificate.

Require cryptographic proof that the requester possesses the device's private key, and authorize the resulting identity before granting access to assets.

Treat public certificates and device identifiers as non-secret identity data, restrict provisioning-topic access, and enforce least privilege for device accounts.

Find out what's already
exploitable in your codebase.