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?
| Package | Affected versions | Fixed in |
|---|---|---|
| phpmyfaq/phpmyfaq (opens in a new tab) | <= 4.1.4 | 4.1.5 |
| thorsten/phpmyfaq (opens in a new tab) | <= 4.1.4 | 4.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 auditAdvisory details
| Severity | HighCVSS 8.8 |
|---|---|
| Published | |
| Updated | |
| GHSA | GHSA-pg62-f8g4-4wqh (opens in a new tab) |
| Weakness | CWE-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
- phpMyFAQ has SQL Injection in `StopWords::add()` — Unescaped Stop Word Insertion (high, 24 September 2026)
- phpMyFAQ has Stored XSS in Admin FAQ Editor via HTML Entity Bypass in Frontend FAQ Submission (high, 24 September 2026)
- phpMyFAQ's two-factor authentication login bypasses the password factor (high, 24 September 2026)
- phpMyFAQ public FAQ APIs expose inactive FAQ content (opens in a new tab) (medium, 25 August 2026)
- phpMyFAQ has Potential Authenticated Path Traversal in PDF Export (opens in a new tab) (medium, 25 August 2026)