ZeroHour

CVE-2026-86193

niche

Broken authorization in Grav API plugin lets user managers take over super-admin accounts

CVSS 4.0
8.7 high
EPSS
<1%p12
Published
()
Modified
AI analysis

grav-plugin-api, the REST API plugin for the Grav CMS, fails to enforce group-inherited 'super' permission checks in its user-management guards, an incorrect-authorization flaw (CWE-863). An authenticated API caller holding api.access and api.users.write — such as a delegated user manager who is not a super user — can issue patch/update requests against accounts in a group with super permissions, including changing their password fields. By resetting a super-admin's password in this way, the attacker gains full administrative control of the Grav site. Any deployment running grav-plugin-api before 1.0.20 in which non-super users have been granted API user-management permissions is affected. No public proof-of-concept is known, no in-the-wild exploitation has been confirmed, and EPSS currently estimates only about a 0.2% chance of exploitation within 30 days.

What to do: Upgrade grav-plugin-api to 1.0.20 or later. As an interim mitigation, revoke api.users.write from non-super users and restrict user-management API access to super users. Review API logs for patch/update calls touching group-super (super-admin) accounts made by non-super users, and check whether any super-admin passwords were changed unexpectedly.

Affected
Grav (getgrav) grav-plugin-api (API plugin for Grav CMS)all versions before 1.0.20
Estimated exposure
nichelikely hundreds to low thousands of Grav sites (estimate; no authoritative install counts provided) — No install counts were supplied in the data, so the estimate reflects Grav CMS's position as a niche flat-file CMS, the API plugin being an optional add-on, and the further requirement that non-super users be granted api.users.write for…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

grav-plugin-api before 1.0.20 fails to validate group-inherited super permissions in user-management guards, allowing non-super user managers to modify super-admin accounts. Attackers with api.access and api.users.write can patch password fields on group-super accounts to gain full administrative control.

Weakness
CWE-863
Vector
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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.