All vulnerabilities

Servers and applications

GHSA-qgmc-p8w7-7x5p

Grav 1.7: a user manager without super-admin access can take over a super-admin account from the classic admin Accounts page

Severity
High 7.2
Published
19 Nov 2026
Last changed
19 Nov 2026
Added to UpHeron
19 Nov 2026
Fixed in
1.7.53.11
Weakness
Improper privilege management (CWE-269)Mass assignment (CWE-915)
Attack
Over the network · Needs an administrator account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Sources
Project advisories (GitHub)

Description

On Grav 1.7, an account with the classic admin's user-management permission (admin.users) but without super-admin access can take over a super-admin account from the Accounts page. The page is served by Flex Objects in the default grav-admin bundle, and Flex user saves did not check whether the target account is a super admin. The manager can set a new password for the super admin (through the normal password field), write a password hash of their choosing into the account (hashed_password is not declared in the account blueprint and passes its loose validation), or delete the account. The edit form also hands the manager the super admin's password hash and any pending password-reset token as hidden fields.

The classic admin's own user form already refuses this (fixed for earlier reports), but that code path is not used when Flex Objects manages accounts, which is the default.

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

Affected software

SoftwareAffected versions
GravServers and applications · github:getgrav/grav
  • From 1.7.0 before 1.7.53.11

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