Western Digital My Cloud devices before OS5 allow REST API access by low-privileged accounts, as demonstrated by API commands for firmware uploads and installation.
https://www.youtube.com/watch?v=vsg9YgvGBec
https://krebsonsecurity.com/2021/07/another-0-day-looms-for-many-western-digital-users/