Auth bypass in Phpmyfaq
CVE-2026-24421
phpMyFAQ is an open source FAQ web application. Versions 4.0.16 and below have flawed authorization logic which exposes the /api/setup/backup endpoint to any authenticated user despite their permissions. SetupController.php uses userIsAuthenticated() but does not verify that the requester has configuration/admin permissions. Non-admin users can trigger a configuration backup and retrieve its path. The endpoint only checks authentication, not authorization, and returns a link to the generated ZIP. This issue is fixed in version 4.0.17.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.017, 78.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Phpmyfaq
- Thorsten Phpmyfaq — versions < 4.0.17
Weakness classification (CWE)
References
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-wm8h-26fv-mg7g (Exploit, Vendor Advisory)