All vulnerabilities

Servers and applications

GHSA-c76m-5vv2-6cmh

Account creators can take over existing accounts through a front-end Flex account form

Severity
Medium
Published
25 Nov 2026
Last changed
25 Nov 2026
Added to UpHeron
25 Nov 2026
Fixed in
2.2.35
Weakness
Improper access control (CWE-284)Incorrect authorization (CWE-863)
Sources
Project advisories (GitHub)

Description

An account whose only user-management grant is admin.users.create can overwrite the e-mail address and password of any existing non-super account through a front-end Flex user-accounts form, then sign in as that account and use its permissions. Two gaps combine: the Flex Objects plugin's create task never refuses an object that already exists, and core's FlexObject::check() only tests the save permission when a user is passed in, which the plugin's controller does not do. No default install has such a form, but a publisher can add one to a page. The right to create accounts becomes the right to update them. Super admin accounts are protected and are not affected.

This is a gap in the fix for GHSA-6c4v-4wrv-3559, which covered account overwrites through client-supplied storage keys in front-end Flex forms, among them a user manager with only admin.users.create replacing an existing account through a create form. This case needs no storage key from the client.

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.0 before 2.2.35

About Grav

free software content management system written in PHP

From Wikidata, CC0 1.0.
Monthly downloads (Packagist)
1,832Packagist, 22 Nov 2026
Total downloads (Packagist)
93,086Packagist, 22 Nov 2026
GitHub stars
15,733GitHub, 22 Nov 2026
Forks
1,428GitHub, 22 Nov 2026
Latest release
2.2.32GitHub, 22 Nov 2026
Released
20 Nov 2026GitHub
License
MIT LicenseWikidata
Written in
PHPWikidata
First published on GitHub
2 Aug 2014GitHub

References