Description
Grav Plugin API (getgrav/grav-plugin-api) before 1.0.13 fails to enforce API-key scope caps in InvitationsController. The strip-super and accept-groups decisions are gated on a bare isSuperAdmin() check rather than a scope-aware permission check, so a least-privilege API key (scoped to api.users.write) minted on a super account can create an invitation record containing super-admin access flags. When the invitation is accepted, those flags are written verbatim to the new account, resulting in privilege escalation to a fully controlled super account.
Published: 2026-08-14
Score: 8.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Grav's getgrav/grav-plugin-api before 1.0.13 fails to enforce API key scope controls in the InvitationsController. The strip-super and accept-groups actions rely solely on isSuperAdmin() rather than scope‑aware permission checks. Consequently, an API key with only api.users.write scope issued to a super‑account can create invitations that include super‑admin flags. When the invitation is accepted, those flags are written unchanged to the new account, giving the attacker full super‑account privileges. This is a classic privilege escalation vulnerability.

Affected Systems

The affected product is Grav, provided by getgrav. All Grav installations using getgrav/grav-plugin-api versions older than 1.0.13 are vulnerable. No other vendor or version information is specified.

Risk and Exploitability

The CVSS score of 8.6 indicates a high‑severity flaw. EPSS data is not available, and the vulnerability is not currently listed in CISA’s KEV catalog. Exploitation requires the attacker to possess an API key with at least the api.users.write scope and to invoke the InvitationsController’s create or accept endpoints. The vulnerability can be triggered over the web API, so the attack vector is remote. Because the attack relies on legitimate API usage, the likelihood of exploitation is potentially moderate but depends on the frequency of low‑privilege API key usage and the presence of the vulnerable Grav version.

Generated by OpenCVE AI on August 14, 2026 at 12:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Grav to version 1.0.13 or newer to restore proper scope enforcement.
  • Revoke or restrict the API key’s privileges so it cannot create invitations, or disable invitation creation for non‑admin keys.
  • Audit and delete any invitations that contain super‑admin flags and remove accounts that were granted such flags.

Generated by OpenCVE AI on August 14, 2026 at 12:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Description Grav Plugin API (getgrav/grav-plugin-api) before 1.0.13 fails to enforce API-key scope caps in InvitationsController. The strip-super and accept-groups decisions are gated on a bare isSuperAdmin() check rather than a scope-aware permission check, so a least-privilege API key (scoped to api.users.write) minted on a super account can create an invitation record containing super-admin access flags. When the invitation is accepted, those flags are written verbatim to the new account, resulting in privilege escalation to a fully controlled super account.
Title Grav before 1.0.13 API Key Scope Bypass via InvitationsController
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-269
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-17T16:08:58.522Z

Reserved: 2026-08-10T15:12:59.509Z

Link: CVE-2026-72828

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-08-14T12:16:46.030

Modified: 2026-08-31T20:30:14.457

Link: CVE-2026-72828

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T12:45:17Z

Weaknesses
  • CWE-269

    Improper Privilege Management