CVE-2026-35671: phpMyFAQ IDOR in admin API user password endpoint

CVE-2026-35671 · Severity: high · CVSS 8.8 · Published 2026-05-28

phpMyFAQ, an open-source FAQ software, contains a security flaw in its administrative interface. An attacker with low-level administrative access can change the password of any other user, including the system's SuperAdmin. This allows a minor administrative user to take full control of the entire application and its data.

Technologies: phpmyfaq/phpmyfaq (Packagist), thorsten/phpmyfaq (Packagist). Vendors: Packagist.

Quick answers

Is CVE-2026-35671 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-35671 being exploited in the wild.
How severe is CVE-2026-35671?
High severity, with a CVSS score of 8.8, published 28 May 2026.
Which products and versions are affected?
phpmyfaq/phpmyfaq (Packagist) ECOSYSTEM:introduced=0,fixed=4.1.3; thorsten/phpmyfaq (Packagist) ECOSYSTEM:introduced=0,fixed=4.1.3.
Is there a fix for CVE-2026-35671?
Yes. phpmyfaq/phpmyfaq (Packagist): upgrade to 4.1.3 or later; thorsten/phpmyfaq (Packagist): upgrade to 4.1.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-35671 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-35671?
Check whether you run phpmyfaq/phpmyfaq (Packagist) or thorsten/phpmyfaq (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • phpmyfaq/phpmyfaq (Packagist): upgrade to 4.1.3 or later
    composer require phpmyfaq/phpmyfaq:^4.1.3
  • thorsten/phpmyfaq (Packagist): upgrade to 4.1.3 or later
    composer require thorsten/phpmyfaq:^4.1.3

Technical details

An Insecure Direct Object Reference (IDOR) exists in the `overwritePassword()` method within `src/phpMyFAQ/Controller/Administration/Api/UserController.php`. The application fails to verify if the requesting administrator has the authority to modify the specific `userId` provided in the PUT request to `/admin/api/user/overwrite-password`. While the endpoint checks for general `USER_EDIT` permissions, it does not validate that the target user has a lower or equal privilege level. Consequently, a low-privileged administrator can escalate their privileges to SuperAdmin by targeting `userId=1`. This issue is resolved in version 4.1.3.

Affected products

  • thorsten phpMyFAQ < 4.1.3

Identifiers

  • CVE-2026-35671
  • GHSA-xvp4-phqj-cjr3

Timeline

  • 2026-05-14: advisory: GitHub Security Advisory published
  • 2026-05-28: disclosed: CVE published to NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.