/

CVE-2026-130369

Severity:

HIGH RISK

(8.1)

Authorization Bypass (CWE-639) in phpMyFAQ WebAuthn API

CVE-2026-130369

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-639

Impact:

Cross-Tenant Account Takeover

Severity:

HIGH RISK

(8.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A tenant authorization bypass in phpMyFAQ multisite deployments can let an attacker replace another tenant's WebAuthn passkeys when tenants share a PHP session store. If the registration endpoint accepts session state without correctly checking the tenant and account, the attacker may be able to take over the affected account.

Affected context

The issue concerns WebAuthn passkey registration in phpMyFAQ multisite deployments. It becomes risky when tenants share a PHP session store and session state prepared in one tenant can be accepted by a registration endpoint on another tenant or the master site without enforcing the correct tenant and account relationship.

Exploit preconditions

  • Attack surface: WebAuthn preparation and registration endpoints in a multisite deployment
  • Required access: Access to the relevant web endpoints; the description does not specify that an existing authenticated account is required
  • Trigger point: Passkey registration using session state associated with a different tenant
  • Why exploitation is possible: The registration flow may fail to bind session state and the target account to the tenant handling the request

Why this happens

The underlying issue is an authorization check that does not adequately constrain access to an account by tenant. This maps to CWE-639: Authorization Bypass Through User-Controlled Key, where an operation can act on another user's resource because the relevant identifier or context is not properly authorized. In this case, session state used during WebAuthn registration is not reliably bound to the intended tenant and account.

Potential impact

  • An attacker may replace a victim account's registered passkeys
  • Affected accounts could be accessed through the attacker-controlled passkey
  • A privileged account, including an administrator account, could be taken over if exposed to the same conditions
  • Cross-tenant trust boundaries may be undermined

General mitigation guidance

Defensive patterns focus on enforcing tenant-aware authorization throughout the WebAuthn flow.

  • Bind registration state to the initiating tenant, account, and intended operation, then verify those bindings at registration.
  • Derive the target account from trusted server-side identity rather than accepting client-controlled identifiers as authority.
  • Use tenant-scoped session state where practical, and avoid relying on shared session data as proof of authorization across tenants.
  • Require an appropriate authenticated and authorized context before allowing passkey changes.
  • Apply least privilege to session and application components, and invalidate or narrowly scope transient registration state.

How teams detect issues like this

  • Review WebAuthn preparation and registration handlers for authorization checks that compare the active tenant, session, and target account.
  • Use static analysis or code review checks to flag resource updates keyed by user-controlled identifiers without an ownership or tenant check.
  • Test tenant isolation policies to confirm that registration state created in one tenant is rejected in another.
  • Monitor passkey changes for mismatches between the session tenant, request tenant, and account owner, with appropriate privacy controls.

Sources

SourceLink
github.comgithub.com/thorsten/phpMyFAQ/commit/8a7eeddddda7f11882d1e9944ab92473c6890b85
github.comgithub.com/thorsten/phpMyFAQ/releases/tag/4.1.12
github.comgithub.com/thorsten/phpMyFAQ/releases/tag/4.2.0-RC.2
github.comgithub.com/thorsten/phpMyFAQ/security/advisories/GHSA-j82j-jp9w-f75c
vulncheck.comvulncheck.com/advisories/phpmyfaq-4.1.9-before-4.1.12-and-4.2.0-alpha-before-4.2.0-rc.2-cross-tenant-webauthn-account-takeover

Frequently asked

questions

It concerns WebAuthn passkey registration in phpMyFAQ multisite deployments where tenants share a PHP session store and tenant authorization is not properly enforced.

The description does not establish that prior authentication is required. Access to the relevant web endpoints and session conditions are central prerequisites.

Bind WebAuthn registration state to the intended tenant and account, and independently verify authorization when the passkey change is applied.

Enforce tenant-scoped authorization on every resource-changing operation, isolate session state where feasible, and test that cross-tenant requests cannot reuse another tenant's authorization context.

Find out what's already
exploitable in your codebase.