Improper access control in Grav CMS - CVE-2026-42843
Published: May 5, 2026
Grav CMS
Detailed vulnerability description
The vulnerability allows a remote user to escalate privileges.
The vulnerability exists due to improper access control in UsersController::update when handling PATCH requests to update a user's own profile. A remote user can send a specially crafted PATCH request modifying the access field to escalate privileges.
Exploitation requires an authenticated account with the api.access permission.