---
id: CVE-2026-111886
title: >-
  phpMyFAQ 4.2.0-alpha.2 before 4.2.0-beta 2FA Brute-Force via remove-twofactor
  Endpoint
summary: >-
  phpMyFAQ from 4.2.0-alpha.2 before 4.2.0-beta lacks brute-force lockout in the
  removeTwofactorConfig() 2FA removal endpoint, allowing authenticated attackers
  to guess TOTP codes without limit. Attackers holding a hijacked session and
  CSR…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N'
cvssSource: cna
cwe:
  - CWE-307
vendor: thorsten
product: phpMyFAQ
affected:
  - phpMyFAQ >= 4.2.0-alpha.2 < 4.2.0-beta
published: '2026-10-17'
updated: '2026-10-17'
sourceUpdated: '2026-10-17T18:46:11.821Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-111886'
references:
  - url: >-
      https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-7pjw-6v4g-f837
    label: GitHub Security Advisory (GHSA-7pjw-6v4g-f837)
  - url: >-
      https://www.vulncheck.com/advisories/phpmyfaq-4.2.0-alpha.2-before-4.2.0-beta-2fa-brute-force-via-remove-twofactor-endpoint
    label: >-
      VulnCheck Advisory: phpMyFAQ 4.2.0-alpha.2 before 4.2.0-beta 2FA
      Brute-Force via remove-twofactor Endpoint
tags:
  - cve.org
ingestedAt: '2026-10-17T19:08:56.973Z'
---

## Overview

phpMyFAQ from 4.2.0-alpha.2 before 4.2.0-beta lacks brute-force lockout in the removeTwofactorConfig() 2FA removal endpoint, allowing authenticated attackers to guess TOTP codes without limit. Attackers holding a hijacked session and CSRF token can repeatedly POST guesses to /api/user/remove-twofactor to permanently disable the victim's 2FA.

## Affected

- `phpMyFAQ >= 4.2.0-alpha.2 < 4.2.0-beta`

## Remediation

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