Custom role Broken Access Control in Dokan <= 5.0.10 versions.
Update the WordPress Dokan Plugin to the latest available version (at least 5.0.11).