---
id: CVE-2026-111898
title: >-
  phpMyFAQ 4.2.0-alpha before 4.2.0-beta Account Takeover via Keycloak Implicit
  Account Linking
summary: >-
  phpMyFAQ 4.2.0-alpha before 4.2.0-beta contains an authentication bypass
  vulnerability that allows Keycloak users to take over local accounts by
  matching preferred_username or email. Attackers controlling a Keycloak
  identity with a colli…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-287
vendor: thorsten
product: phpMyFAQ
affected:
  - phpMyFAQ >= 4.2.0-alpha < 4.2.0-beta
published: '2026-10-17'
updated: '2026-10-17'
sourceUpdated: '2026-10-17T18:46:20.655Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-111898'
references:
  - url: >-
      https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-rg4w-2j3r-2hhp
    label: GitHub Security Advisory (GHSA-rg4w-2j3r-2hhp)
  - url: >-
      https://www.vulncheck.com/advisories/phpmyfaq-4.2.0-alpha-before-4.2.0-beta-account-takeover-via-keycloak-implicit-account-linking
    label: >-
      VulnCheck Advisory: phpMyFAQ 4.2.0-alpha before 4.2.0-beta Account
      Takeover via Keycloak Implicit Account Linking
tags:
  - cve.org
ingestedAt: '2026-10-17T19:08:56.953Z'
---

## Overview

phpMyFAQ 4.2.0-alpha before 4.2.0-beta contains an authentication bypass vulnerability that allows Keycloak users to take over local accounts by matching preferred_username or email. Attackers controlling a Keycloak identity with a colliding username or unverified email can log in through /auth/keycloak/authorize to bind their subject and gain superadmin privileges.

## Affected

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

## Remediation

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