All vulnerabilities

Servers and applications

GHSA-mwjj-r7vm-pgqm

Grav CMS group blueprint `security@` guard bypass via flat dot-notation key leads to privilege escalation

Severity
High 8.8
Published
9 Sept 2026
Last changed
9 Sept 2026
Added to UpHeron
7 Nov 2026
Fixed in
2.0.25
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Sources
Project advisories (GitHub)

Description

A group's access map is a super-admin-only field: the core group blueprint gates it with security@: admin.super, so a non-super operator's submitted access data is stripped before save (the fix for GHSA-xhfv-7758-r9hx). That guard is keyed on the field's own path.

Submitting a flat dot-notation key — access.admin.super instead of the nested access[admin][super] — resolves to no field rule at all, survives blueprint filtering and flattening, and is then written by FlexObject::update() via setNestedProperty(), which splits on . and reconstructs the nested value.

An operator holding only admin.users can thereby grant admin.super to a group they belong to, or to their own account, and escalate to full super-admin.

Blueprint::dynamicSecurity() translates security@: admin.super into a recursive validate.ignore = true on the guarded field for any non-super user.

From getgrav/grav's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
GravServers and applications · github:getgrav/grav
  • From 2.0.14 before 2.0.25

About Grav

free software content management system written in PHP

From Wikidata, CC0 1.0.
Monthly downloads (Packagist)
1,748Packagist, 15 Nov 2026
Total downloads (Packagist)
92,444Packagist, 15 Nov 2026
GitHub stars
15,725GitHub, 15 Nov 2026
Forks
1,430GitHub, 15 Nov 2026
Latest release
2.2.29GitHub, 15 Nov 2026
Released
11 Nov 2026GitHub
License
MIT LicenseWikidata
Written in
PHPWikidata
First published on GitHub
2 Aug 2014GitHub

References