Vulnerability GHSA-xj53-j257-hxvg

Medium Risk
MEDIUM RISK
CVSS Score: 4.3
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
4 months ago
July 06, 2026 at 04:52 PM UTC
OpenRemote read-only asset users can write predicted datapoints
1.2.0 - 1.6.0 and 1.6.2 - 1.12.1 and 1.12.3 - 1.15.2 and 1.16.1 - 1.24.0
1.2.0 - 1.6.0 and 1.6.2 - 1.12.1 and 1.12.3 - 1.15.2 and 1.16.1 - 1.24.0

Summary

OpenRemote read-only asset users can write predicted datapoints

Details

Summary

The predicted datapoint write endpoint allows users with only read:assets privileges to write predicted datapoints.

The endpoint:

PUT /api/{realm}/asset/predicted/{assetId}/{attributeName}

accepts write requests from users lacking write:assets.

The implementation appears to check READ_ASSETS while performing a write operation through:

assetPredictedDatapointService.updateValues(...)

PoC

A user was created with only:

read:assets

and without write:assets.

The following request succeeded:

PUT /api/master/asset/predicted/4Fr8Pcp7iDjrEmoSUFolvT/temperature

Request body:

[{"x":1779199999001,"y":1337}]

Response:

HTTP/2 204

Database verification confirmed the datapoint was written successfully:

entity_id: 4Fr8Pcp7iDjrEmoSUFolvT
attribute_name: temperature
value: 1337

Impact

Users with read-only asset permissions can modify predicted datapoints for assets.

Related Vulnerabilities

Other vulnerabilities affecting the same packages

View all vulnerabilities for these packages

Timeline

Published
4 months ago
July 06, 2026 at 04:52 PM UTC
Fixed (1.24.1)
Unknown
Unknown
Last Modified
4 months ago
July 06, 2026 at 05:11 PM UTC