/

CVE-2026-75836

Severity:

HIGH RISK

(8.8)

Missing Authorization (CWE-862) in Grav API Plugin

CVE-2026-75836

Deferred

Vulnerability type

Category:

Missing Authorization

CWE:

CWE-862

Impact:

Unauthorized execution of privileged plugin actions

Severity:

HIGH RISK

(8.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A missing authorization check in Grav's API plugin allows authenticated users with the baseline api.access permission to invoke menubar actions without satisfying a plugin's intended authorize requirement. The issue becomes risky when a first- or third-party plugin exposes privileged actions through the affected API endpoint.

Affected context

The vulnerability occurs in Grav deployments using the API and menubar action functionality. The listing endpoint may filter items according to each plugin's authorization policy, while the corresponding POST action endpoint can omit that policy check and rely only on the general api.access permission. The practical impact depends on whether installed plugins register actions that require additional authorization.

Exploit preconditions

  • Attack surface: The authenticated POST API endpoint for menubar actions
  • Required access: A valid account or session with the baseline api.access permission
  • Trigger point: Direct invocation of a registered menubar action
  • Why exploitation is possible: The action handler checks general API access but does not consistently evaluate the plugin-defined authorize requirement

Why this happens

The underlying flaw is an authorization enforcement gap. Authorization is applied when menubar items are listed, but the server-side action execution path does not repeat the plugin-specific authorization decision before performing the requested operation. This maps to CWE-862: Missing Authorization, where access control is absent or inconsistently enforced on a protected operation.

Potential impact

  • An authenticated user could invoke actions intended for more privileged users
  • Plugin-specific administrative operations could be performed without the required authorization
  • Application configuration or content could be modified, depending on the exposed action
  • A vulnerable or malicious third-party plugin could expand the consequences to data exposure or code execution

General mitigation guidance

Mitigation generally focuses on enforcing authorization at every action execution boundary rather than relying on UI filtering or endpoint-level permissions alone.

Common defensive patterns include:

  • Evaluate each plugin-defined authorization requirement immediately before executing an action
  • Apply consistent server-side checks to both listing and execution paths
  • Use deny-by-default behavior when an authorization rule is missing, invalid, or cannot be evaluated
  • Limit api.access grants to users and service accounts that genuinely require API functionality
  • Review installed plugins for privileged actions and minimize their operational permissions
  • Treat client-visible menus and action identifiers as untrusted input

How teams detect issues like this

Organizations can look for this class of issue through:

  • Static analysis that compares authorization checks on action discovery and action execution paths
  • Code review signals such as endpoint handlers dispatching plugin actions without invoking registered authorization callbacks
  • Integration tests that call privileged actions directly using accounts with baseline API access only
  • API gateway or application policies that restrict sensitive action routes by role or capability
  • Audit logging and monitoring for unusual menubar action invocations by lower-privileged accounts

Automated security review tools may help identify inconsistent access-control enforcement, but endpoint-specific authorization tests remain important.

Sources

SourceLink
github.comgithub.com/getgrav/grav/security/advisories/GHSA-8mjx-xjfv-9c88
vulncheck.comvulncheck.com/advisories/grav-api-plugin-before-missing-authorization-2

Frequently asked

questions

An authenticated caller with the baseline api.access permission may be able to exploit the issue when an installed plugin exposes an action with a stricter authorization requirement.

No. The impact depends on installed plugins. If no plugin registers a privileged authorization handler, the flaw may have little practical effect on a stock deployment.

Enforce the plugin's authorization requirement immediately before executing the requested action, using a deny-by-default decision when the requirement cannot be verified.

Test authorization on direct API requests rather than only through interface listings, review every state-changing endpoint, and grant API permissions according to least privilege.

Find out what's already
exploitable in your codebase.