Description
The Grav API plugin (getgrav/grav-plugin-api, bundled with Grav 2.0) before version 1.0.14 (fixed in 1.0.15) contains a missing authorization vulnerability in BlueprintPathResolver::resolveUserScope(). The method gates the users/<name> scope on the account's raw super-admin ACL flag (access.api.super) instead of validating the presented API key's actual scope. An attacker holding an API key scoped only to api.media.write minted on a super-admin account can bypass the authorization check and, via POST /blueprint-upload or GET /blueprint-files, write a file into another user's scope (in the shared user/accounts/ directory, constrained to image extensions by assertSafeExtension()) and browse that scope's file listing, despite the key not being granted api.users.write.
Published: 2026-08-18
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a missing authorization check in the API plugin's BlueprintPathResolver. An API key granted only the media write scope but issued from a super‑admin account can bypass the intended access controls. The attacker can then POST files or GET file listings inside another user's scoped directory, writing arbitrary image files and reading the enumeration of that directory. This allows unauthorized read/write access to user data and could be leveraged for further compromise.

Affected Systems

Grav 2.0 installations that include the getgrav/grav-plugin-api prior to version 1.0.14, which are bundled with the core Grav package. The patch is included in version 1.0.15.

Risk and Exploitability

The CVSS score of 9.3 indicates a high severity exploit. No EPSS data is available, but the vulnerability is not listed in the CISA KEV catalog. The attack vector is likely an authenticated API user with a key minted on a super‑admin account. The API endpoints POST /blueprint-upload and GET /blueprint-files enable the attack once the missing authorization is exercised.

Generated by OpenCVE AI on August 18, 2026 at 12:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the official update to Grav API Plugin version 1.0.15 or later.
  • Restrict the use of API keys minted on super‑admin accounts to only the scopes they require, and remove the api.media.write scope from keys that should not access other users' directories.
  • Enforce additional file‑type validation or limit the write scope to prevent users from placing files in /accounts/.

Generated by OpenCVE AI on August 18, 2026 at 12:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 11:30:00 +0000

Type Values Removed Values Added
Description The Grav API plugin (getgrav/grav-plugin-api, bundled with Grav 2.0) before version 1.0.14 (fixed in 1.0.15) contains a missing authorization vulnerability in BlueprintPathResolver::resolveUserScope(). The method gates the users/<name> scope on the account's raw super-admin ACL flag (access.api.super) instead of validating the presented API key's actual scope. An attacker holding an API key scoped only to api.media.write minted on a super-admin account can bypass the authorization check and, via POST /blueprint-upload or GET /blueprint-files, write a file into another user's scope (in the shared user/accounts/ directory, constrained to image extensions by assertSafeExtension()) and browse that scope's file listing, despite the key not being granted api.users.write.
Title Grav API Plugin before 1.0.14 Authorization Bypass
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-862
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV3_1

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

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-18T11:19:43.757Z

Reserved: 2026-08-18T10:57:39.580Z

Link: CVE-2026-75832

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-18T12:19:33.230

Modified: 2026-08-18T12:19:33.230

Link: CVE-2026-75832

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T12:45:06Z

Weaknesses