Authorization bypass through user-controlled key in phpMyFAQ - #VU131753
Published: May 18, 2026
phpMyFAQ
Detailed vulnerability description
The vulnerability allows a remote user to escalate privileges and take over arbitrary accounts.
The vulnerability exists due to authorization bypass through a user-controlled key in the overwritePassword() method of the admin API user controller when handling PUT requests to the /admin/api/user/overwrite-password endpoint. A remote user can modify the userId value in the request body to escalate privileges and take over arbitrary accounts.
Exploitation requires an authenticated admin session with USER_EDIT permission and a valid CSRF token.