CVE-2026-76214 is a replay vulnerability in phpMyFAQ's WebAuthn implementation caused by a persistence gap between challenge generation and verification. When a user initiates a WebAuthn login, the server generates a challenge but fails to persist it before the verification step. During verification, the code performs a null guard check before comparing the returned assertion against the stored challenge. When the challenge is missing from the database, the null guard skips the comparison — treating 'no challenge to verify against' as equivalent to 'verification succeeded.' An attacker who captures a single valid WebAuthn assertion can replay it indefinitely against the same user account, bypassing the entire phishing-resistant authentication flow.
This is not a cryptographic failure. The WebAuthn protocol correctly requires persistent challenges as the sole anti-replay mechanism. The vulnerability stems from a composition failure: prepareForLogin generates the challenge object but never writes it to the database, while verifyCredentials assumes any null comparison means the challenge was valid. Neither developer recognized their separate concerns would conflict when composed. This pattern — state generated but not persisted, with null guards treating missing state as permission — has a twenty-year lineage across CSRF tokens, OAuth tokens, and JWTs. Each time the fix is 'ensure persistence,' and each time the lesson fails to transfer to the next protocol generation.
The blast radius here is systemic. WebAuthn is explicitly positioned as the password replacement — organizations migrating from password+TOTP stacks are told the replay threat is eliminated. When that assumption fails at the library level, every downstream system that treated this as a viable password alternative inherits the vulnerability. phpMyFAQ is a 25-year-old legacy application, which means the dangerous null guard likely accumulated over years of defensive coding where nobody removed a guard that 'might break availability.' The persistence gap survives because the catastrophic scenario — an attacker replaying a captured assertion — requires adversarial conditions that never appear in normal testing or code review.
Prioritize patching to version 4.1.7 or later. Audit any other WebAuthn implementations in your stack for the same pattern: challenge generation calls that lack explicit persistence verification before the corresponding verification call. Code review alone may not catch this — the vulnerability is invisible under normal testing conditions. Consider static analysis rules that flag verification paths where the comparison operand is sourced from storage without a preceding write assertion in the same transaction flow.