Published CVE

CVE-2026-111895 Account Takeover Through Improper Microsoft Entra ID Identity Binding

Product
phpMyFAQ
Affected releases
3.2.0 up to 4.0.0, and 4.0.2 up to 4.2.0-beta (upper bounds excluded).
Fixed releases
4.0.0 and 4.2.0-beta (respective branches)
GitHub advisory
CVSS 3.1 · 7.4 High
CVE record
CVSS 4.0 · 7.6 High / CVSS 3.1 · 6.8 Medium
Reporter
NIRTEM (nirtem)

Overview

NIRTEM identified a significant authentication vulnerability affecting the integration between phpMyFAQ and Microsoft Entra ID.

The vulnerability was associated with improper identity validation and insecure binding between external identity claims and existing local user accounts.

Technical background

Modern applications frequently integrate federated authentication services such as Microsoft Entra ID.

These integrations must securely associate externally authenticated identities with internal application accounts using stable and unique identity identifiers.

Root cause

The affected authentication mechanism relied on the mutable preferred_username claim rather than consistently enforcing immutable identity binding.

Additional flaws in account creation and duplicate-account handling could allow an externally authenticated identity to be incorrectly associated with an existing local account.

Security impact

Under specific conditions, an attacker controlling a suitable identity within the configured Entra environment could impersonate an existing local application user.

If the targeted identity possessed administrative privileges, the impact could include unauthorized access to sensitive administrative functionality.

Research methodology

Follow the external identity through sign-in, account creation and collision handling. Check which claims identify the same principal across sign-ins.

Research capabilities

Federated authentication, OpenID Connect claim semantics and local account lifecycle review.

Remediation principles

Use immutable identity identifiers for account binding, reject unexpected identity collisions, enforce strict duplicate-account handling, and prevent automatic association with existing privileged local accounts.

Research credit

Reported by nirtem, as documented in the official phpMyFAQ GitHub Security Advisory.

Official references

Work with me