Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. thorsten/phpmyfaq
  4. ›
  5. GHSA-pg62-f8g4-4wqh

GHSA-pg62-f8g4-4wqh: phpMyFAQ privilege escalation: GroupController::updatePermissions lets a GROUP_EDIT admin grant rights they do not hold

August 25, 2026

phpMyFAQ supports delegated administration: the GROUP_EDIT right can be granted to a non-SuperAdmin so they can manage groups. Such an administrator can escalate:

  1. They call POST /admin/group/update/permissions with group_id set to a group they belong to (or can manage membership of) and group_rights[] containing high-value rights they do not themselves hold (e.g. user administration, or any right gating sensitive actions).
  2. The endpoint grants every requested right to the group with no check that the caller holds them.
  3. Members of that group — including the attacker — inherit the granted rights, escalating the attacker’s effective privileges.

This is the group-side mirror of exactly what the maintainers blocked on the user-rights side, where the code comment names the threat explicitly (“prevents an administrator with the delegable USER_EDIT right from granting privileges they do not possess (privilege escalation)”). The group path remains open.

PR:L (the attacker needs the delegable GROUP_EDIT right, below SuperAdmin), S:U (escalation within phpMyFAQ’s single authorization authority), C:H/I:H/A:H (inherited rights can reach full administrative read/write/availability control). The one added step versus the user-rights path — the attacker must be a member of the group they elevate (a GROUP_EDIT admin generally manages group membership, hence AC:L) — is noted in Technical Details.

References

  • github.com/advisories/GHSA-pg62-f8g4-4wqh
  • github.com/thorsten/phpMyFAQ/commit/de5016607dd606ef161cccd10fa5deec303c834e
  • github.com/thorsten/phpMyFAQ/security/advisories/GHSA-pg62-f8g4-4wqh

Code Behaviors & Features

Detect and mitigate GHSA-pg62-f8g4-4wqh with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.1.5

Fixed versions

  • 4.1.5

Solution

Upgrade to version 4.1.5 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management

Source file

packagist/thorsten/phpmyfaq/GHSA-pg62-f8g4-4wqh.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 11 Sep 2026 00:16:54 +0000.