BuzzPHP
LightDarkSystem

phpMyFAQ privilege escalation: GroupController::updatePermissions lets a GROUP_EDIT admin grant rights they do not hold

High severity. Published 25 August 2026. Update phpmyfaq/phpmyfaq to 4.1.5 or later and thorsten/phpmyfaq to 4.1.5 or later: composer update phpmyfaq/phpmyfaq thorsten/phpmyfaq.

Which versions are affected?

PackageAffected versionsFixed in
phpmyfaq/phpmyfaq (opens in a new tab)<= 4.1.44.1.5
thorsten/phpmyfaq (opens in a new tab)<= 4.1.44.1.5

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show phpmyfaq/phpmyfaq
composer audit

Advisory details

SeverityHighCVSS 8.8
Published
Updated
GHSAGHSA-pg62-f8g4-4wqh (opens in a new tab)
WeaknessCWE-269

What the advisory says

Overview

When phpMyFAQ hardened its admin permission-assignment endpoints against privilege escalation, it added a "a non-SuperAdmin may only assign rights they themselves hold" constraint to the user-rights endpoint (UserController::updateUserRights). The equivalent group-rights endpoint, GroupController::updatePermissions, did not receive that constraint. A delegated administrator holding only the GROUPEDIT permission can therefore grant any group an arbitrary set of rights — including rights the administrator does not possess — and, by being (or becoming) a member of that group, inherit those rights, escalating to higher privileges up to full administrative control.

Impact

Source: GHSA-pg62-f8g4-4wqh (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories