Description
The getgrav/grav-plugin-api plugin before 1.0.18 does not enforce API-key scope in the requireNotSuperTarget() function in UsersController.php across seven sensitive user-management endpoints. The check uses isSuperAdmin() on the acting account rather than verifying whether the specific API key carries super authority (via isSuperWithinScope()). As a result, an API key scoped below full super authority but belonging to a super-admin account can act against other super-admin accounts—disabling their 2FA, deleting their avatar, minting new API keys under their identity, or deleting their existing API keys.
Published: 2026-08-26
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in the Grav platform allows an attacker who owns an API key scoped below full super authority to bypass authentication checks and perform privileged operations on other super‑admin accounts. The bug lies in the requireNotSuperTarget() function of UsersController.php, where the code verifies the acting user is a super‑admin instead of validating that the API key itself grants super‑authority via isSuperWithinScope(). As a result, an attacker can disable two‑factor authentication, delete avatars, create new API keys, or delete existing keys for other super‑admin users. This flaw is a classic example of misuse of API‑key scope, classified as CWE‑863.

Affected Systems

The issue affects the Grav content management system, specifically the getgrav/grav-plugin-api component in versions prior to 1.0.18. Users running any Grav release that includes a grav-plugin-api version earlier than 1.0.18 are vulnerable. The plugin is distributed by the getgrav organization. The vulnerability impacts all Grav installations that expose the seven user‑management endpoints controlled by the plugin.

Risk and Exploitability

With a CVSS score of 9.3, this flaw represents a severe security risk. Although the EPSS score is not available, the lack of an entry in the CISA KEV list does not diminish its potential for exploitation. The likely attack vector is remote, leveraging the Grav API over HTTP or HTTPS. An attacker in possession of a low‑scope API key can construct requests to the affected endpoints and achieve full administrative control over other super‑admin accounts. Consequently, the risk level is high and remediation should be prioritized.

Generated by OpenCVE AI on August 26, 2026 at 11:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest patch for getgrav/grav-plugin-api, ensuring the version is 1.0.18 or newer.
  • Audit all existing API keys to confirm that only those with appropriate super‑authority scope are permitted to access the sensitive user‑management endpoints.
  • Restrict or disable the seven vulnerable endpoints for non‑super‑admin keys until the patch is deployed, or employ network access controls to limit exposure.

Generated by OpenCVE AI on August 26, 2026 at 11:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 26 Aug 2026 10:30:00 +0000

Type Values Removed Values Added
Description The getgrav/grav-plugin-api plugin before 1.0.18 does not enforce API-key scope in the requireNotSuperTarget() function in UsersController.php across seven sensitive user-management endpoints. The check uses isSuperAdmin() on the acting account rather than verifying whether the specific API key carries super authority (via isSuperWithinScope()). As a result, an API key scoped below full super authority but belonging to a super-admin account can act against other super-admin accounts—disabling their 2FA, deleting their avatar, minting new API keys under their identity, or deleting their existing API keys.
Title Grav before 1.0.18 Authentication Bypass via Scoped API Key
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-863
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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-26T10:28:12.996Z

Reserved: 2026-08-25T23:15:39.155Z

Link: CVE-2026-80203

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T12:00:05Z

Weaknesses