phpMyFAQ's two-factor authentication login bypasses the password factor
High severity. Published 24 September 2026. Update thorsten/phpmyfaq to 4.1.6 or later and phpmyfaq/phpmyfaq to 4.1.6 or later: composer update thorsten/phpmyfaq phpmyfaq/phpmyfaq.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| thorsten/phpmyfaq (opens in a new tab) | >= 3.2.0, < 4.1.6 | 4.1.6 |
| phpmyfaq/phpmyfaq (opens in a new tab) | >= 3.2.0, < 4.1.6 | 4.1.6 |
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 thorsten/phpmyfaq
composer auditAdvisory details
| Severity | HighCVSS 8.1 |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-56737 (opens in a new tab) |
| GHSA | GHSA-8gpw-xvpf-hvx5 (opens in a new tab) |
| Weakness | CWE-287 |
What the advisory says
Summary The public two-factor verification endpoint POST /check logs a user in based solely on a valid 6-digit TOTP token and a chosen user-id. It does not require — and is not bound to — a prior successful password authentication. For any account that has 2FA enabled, an unauthenticated attacker can authenticate without knowing the password, reducing the account to a single factor (a 6-digit code) that is itself brute-forceable because this endpoint has no lockout (see Finding 2). This is an authentication bypass of the primary credential for all 2FA-protected accounts, including administrators.
Details src/phpMyFAQ/Controller/Frontend/AuthenticationController.php:255-283:
Source: GHSA-8gpw-xvpf-hvx5 (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 privilege escalation: GroupController::updatePermissions lets a GROUP_EDIT admin grant rights they do not hold (high, 25 August 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)