/

CVE-2026-75837

Severity:

CRITICAL RISK

(9.1)

Privilege Escalation (CWE-269) in Grav Admin Groups

CVE-2026-75837

Deferred

Vulnerability type

Category:

Privilege Escalation

CWE:

CWE-269

Impact:

Administrative Privilege Escalation

Severity:

CRITICAL RISK

(9.1)

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

Grav contains an access-control flaw in the core group blueprint that allows a delegated admin.users operator to assign the admin.super privilege to a group. Affected operators may then gain super-admin capabilities, including access to scheduler and Twig evaluation features, when they can save group configuration.

Affected context

The vulnerability occurs in Grav administration environments where delegated operators can manage user groups and save group definitions through the core group blueprint. It becomes risky when the blueprint does not enforce the required restriction on the access field and the operator can submit a group configuration containing the super-admin permission.

Exploit preconditions

  • Attack surface: Grav administrative group-management functionality
  • Required access: A delegated administrative account with permission to manage or save user groups
  • Trigger point: Processing and saving a group definition containing an elevated access value
  • Why exploitation is possible: The group blueprint fails to restrict the sensitive access field to the intended admin.super security context, allowing a lower-privileged operator to grant super-admin capabilities

Why this happens

The underlying bug is an authorization boundary failure in configuration metadata. A sensitive permission field in the core group blueprint lacks the required security restriction, so a delegated administrator can modify authorization data outside the privilege boundary intended for super-admins. This behavior maps to CWE-269: Improper Privilege Management, because the application permits a principal to acquire or assign privileges beyond those authorized for its role.

Potential impact

  • An attacker could gain super-admin access to the Grav administration interface.
  • The attacker may modify users, groups, site settings, or other administrative data.
  • The attacker could gain scheduler capabilities and influence scheduled application behavior.
  • The attacker may access Twig evaluation functionality, potentially increasing the impact of administrative compromise.
  • The attacker could alter content or configuration and cause data integrity or availability issues.

General mitigation guidance

Mitigation generally focuses on enforcing authorization at the server-side field and action layers rather than relying on editable blueprint data.

Common defensive patterns include:

  • Restricting sensitive group access fields to explicitly authorized super-admin contexts.
  • Enforcing server-side allowlists for privileges that delegated administrators may assign.
  • Separating user and group administration from changes to privileged security attributes.
  • Applying least privilege to administrative roles and limiting scheduler or template-evaluation capabilities.
  • Requiring strong review or approval controls for changes affecting authorization policy.
  • Treating administrative configuration as protected security-sensitive data and reducing its mutability.

How teams detect issues like this

Detection can include static and behavioral review of authorization configuration:

  • Search blueprints and access-control schemas for privileged fields lacking server-side restrictions.
  • Review code paths that allow delegated administrators to create or update groups and compare assignable permissions with role definitions.
  • Monitor audit logs for changes granting admin.super or equivalent high-privilege access.
  • Alert on group modifications performed by delegated operators that introduce administrative permissions.
  • Use policy enforcement to require approval for changes to privileged roles and authorization metadata.
  • Automated code review and security scanning tools may help identify missing authorization checks, but should be supplemented with permission-boundary testing.

Sources

SourceLink
github.comgithub.com/getgrav/grav/security/advisories/GHSA-xhfv-7758-r9hx
vulncheck.comvulncheck.com/advisories/grav-before-privilege-escalation-via-group-access-field

Frequently asked

questions

It may be exploitable through the Grav administrative interface when that interface is reachable and the attacker has a qualifying delegated administrator account. It is not generally an unauthenticated issue.

The attacker needs an account with permission to manage or save groups, such as a delegated admin.users operator. The key weakness is that this role can influence a field intended to be restricted to super-admins.

Enforce the admin.super restriction and validate privileged access fields on the server side before accepting or saving group changes. Do not rely solely on client-side controls or editable blueprint metadata.

Apply least privilege, separate routine user administration from authorization-policy management, test role boundaries, and audit all changes that grant or remove high-impact permissions.

Find out what's already
exploitable in your codebase.