The vulnerability is related to authorization bypass, leading to Remote Code Execution and Local File Inclusion. This is due to incorrect use of an access control attribute on the `switch php` function called via the "/switch-php" REST API route. Attackers can include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.