Sudoedit can edit arbitrary files. Synacktiv discovered a sudoers policy bypass when using sudoedit, tracked as CVE-2023-22809. This vulnerability allows a user authorized to edit a file using sudoedit to edit other files as the configured RunAs user.