Nextcloud Server before 9.0.54 and 10.0.0 suffers from an improper authorization check on removing shares.