---
id: CVE-2026-85590
title: >-
  phpMyFAQ before 4.1.8 contains an authentication bypass vulnerability in its
  two-factor authentication (TOTP) disable functionality
summary: >-
  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 t…
severity: none
cwe:
  - CWE-308
published: '2026-09-04'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:05:53.177'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-85590'
references:
  - url: >-
      https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-h96g-59xp-7r5m
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/phpmyfaq-before-4.1.8-authentication-bypass-via-two-factor-disable
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-h96g-59xp-7r5m
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00386
epssPercentile: 0.32547
ingestedAt: '2026-09-08T20:10:03.165Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
