Improper access control in Grav CMS - CVE-2026-42843

 

Improper access control in Grav CMS - CVE-2026-42843

Published: May 5, 2026


Vulnerability identifier: #VU130072
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-42843
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Grav CMS
Affected software:
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.


How to mitigate CVE-2026-42843

Install security update from vendor's website.

Sources