# Summary The predicted datapoint write endpoint allows users with only `read:assets` privileges to write predicted datapoints. The endpoint: ```text 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: ```java assetPredictedDatapointService.updateValues(...) ``` # PoC A user was created with only: ```text read:assets ``` and without `write:assets`. The following request succeeded: ```http PUT /api/master/asset/predicted/4Fr8Pcp7iDjrEmoSUFolvT/temperature ``` Request body: ```json [{"x":1779199999001,"y":1337}] ``` Response: ```text HTTP/2 204 ``` Database verification confirmed the datapoint was written successfully: ```text entity_id: 4Fr8Pcp7iDjrEmoSUFolvT attribute_name: temperature value: 1337 ``` # Impact Users with read-only asset permissions can modify predicted datapoints for assets.
Update io.openremote:openremote-manager to 1.24.1 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanOpenRemote read-only asset users can write predicted datapoints affects io.openremote:openremote-manager (maven). Severity is medium. # Summary The predicted datapoint write endpoint allows users with only `read:assets` privileges to write predicted datapoints. The endpoint: ```text 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: ```java assetPredictedDatapointService.updateValues(...) ``` # PoC A user was created with only: ```text read:assets ``` and without `write:assets`. The following request succeeded: ```http PUT /api/master/asset/predicted/4Fr8Pcp7iDjrEmoSUFolvT/temperature ``` Request body: ```json [{"x":1779199999001,"y":1337}] ``` Response: ```text HTTP/2 204 ``` Database verification confirmed the datapoint was written successfully: ```text entity_id: 4Fr8Pcp7iDjrEmoSUFolvT attribute_name: temperature value: 1337 ``` # Impact Users with read-only asset permissions can modify predicted datapoints for assets.
AI coding agents often install or upgrade packages automatically in maven. A medium vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
# Summary The predicted datapoint write endpoint allows users with only `read:assets` privileges to write predicted datapoints. The endpoint: ```text 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: ```java assetPredictedDatapointService.updateValues(...) ``` # PoC A user was created with only: ```text read:assets ``` and without `write:assets`. The following request succeeded: ```http PUT /api/master/asset/predicted/4Fr8Pcp7iDjrEmoSUFolvT/temperature ``` Request body: ```json [{"x":1779199999001,"y":1337}] ``` Response: ```text HTTP/2 204 ``` Database verification confirmed the datapoint was written successfully: ```text entity_id: 4Fr8Pcp7iDjrEmoSUFolvT attribute_name: temperature value: 1337 ``` # Impact Users with read-only asset permissions can modify predicted datapoints for assets.
Update io.openremote:openremote-manager to 1.24.1 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanOpenRemote read-only asset users can write predicted datapoints affects io.openremote:openremote-manager (maven). Severity is medium. # Summary The predicted datapoint write endpoint allows users with only `read:assets` privileges to write predicted datapoints. The endpoint: ```text 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: ```java assetPredictedDatapointService.updateValues(...) ``` # PoC A user was created with only: ```text read:assets ``` and without `write:assets`. The following request succeeded: ```http PUT /api/master/asset/predicted/4Fr8Pcp7iDjrEmoSUFolvT/temperature ``` Request body: ```json [{"x":1779199999001,"y":1337}] ``` Response: ```text HTTP/2 204 ``` Database verification confirmed the datapoint was written successfully: ```text entity_id: 4Fr8Pcp7iDjrEmoSUFolvT attribute_name: temperature value: 1337 ``` # Impact Users with read-only asset permissions can modify predicted datapoints for assets.
AI coding agents often install or upgrade packages automatically in maven. A medium vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|
| io.openremote:openremote-managermaven | <1.24.1 | 1.24.1 |
|---|
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard| Package | Affected range | Fixed version |
|---|
| io.openremote:openremote-managermaven | <1.24.1 | 1.24.1 |
|---|
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard