CVE-2026-85590 Details
Description
phpMyFAQ before 4.1.8 contains an authentication bypass vulnerability in its two-factor authentication (TOTP) disable functionality. The removeTwofactorConfig() handler (reachable via POST /api/user/remove-twofactor) verifies only that the user is logged in and that a valid CSRF token is supplied, then disables TOTP without requiring password re-entry or a current TOTP code. The same downgrade is also reachable inline via PUT /api/user/data/update, which accepts a plain twofactor_enabled form field under the same session+CSRF-only guard. An attacker who has hijacked a user's session can silently strip two-factor protection from any account, including administrator accounts, after which password-only authentication succeeds.
An authentication bypass vulnerability has been identified in phpMyFAQ versions prior to 4.1.8. This vulnerability allows an attacker to disable two-factor authentication (TOTP) for any user, including administrators, without requiring a password or a current TOTP code. The issue arises in the removeTwofactorConfig() handler, which is accessible via POST /api/user/remove-twofactor. This handler only checks if the user is logged in and if a valid CSRF token is provided, allowing TOTP to be disabled with minimal verification. The same vulnerability can be exploited through PUT /api/user/data/update by sending a plain twofactor_enabled form field under the same session and CSRF token protection. An attacker who has hijacked a user's session can use this flaw to remove two-factor authentication, after which password-only login is sufficient.
Users are advised to update to phpMyFAQ version 4.1.8 or later. Additionally, it is recommended to implement measures that require a current TOTP code or password verification before disabling two-factor authentication. Users should be notified via email when 2FA is disabled, and other active sessions should be invalidated.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 4, 2026CISA-ADP
Assessed Sep 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-h96g-59xp-7r5m | CISA-ADP | AdvisoryExploitTechnical AnalysisVendor |
| https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-h96g-59xp-7r5m | [email protected] | AdvisoryExploitTechnical AnalysisVendor |
| https://www.vulncheck.com/advisories/phpmyfaq-before-4.1.8-authentication-bypass-via-two-factor-disable | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-308 | Use of Single-factor Authentication | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| phpMyFAQ | <= 4.1.7 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 4, 2026 | CVE Modified | CISA-ADP |
| Sep 4, 2026 | New CVE Received | [email protected] |
Volerion