BuzzPHP
LightDarkSystem

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?

PackageAffected versionsFixed in
thorsten/phpmyfaq (opens in a new tab)>= 3.2.0, < 4.1.64.1.6
phpmyfaq/phpmyfaq (opens in a new tab)>= 3.2.0, < 4.1.64.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 audit

Advisory details

SeverityHighCVSS 8.1
Published
Updated
CVECVE-2026-56737 (opens in a new tab)
GHSAGHSA-8gpw-xvpf-hvx5 (opens in a new tab)
WeaknessCWE-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

All Composer security advisories