Summary
CVE-2026-63438 is a critical improper authentication vulnerability (CWE-287) in 2FAuth, the self-hosted web app for managing two-factor authentication accounts. When the reverse-proxy guard is in use, an unauthenticated remote client can create an account, including an administrator account. The CVSS v3.1 base score is 9.8 (Critical).
Technical details
- Root cause: with
AUTHENTICATION_GUARD=reverse-proxy-guard,RemoteUserProvider::retrieveById()creates an account for an unknownREMOTE_USER, promotes the first account it creates to administrator, and syncs the account email from the configured mail header. The identity headers are accepted from clients that did not pass through a trusted proxy. - Trigger conditions: the instance uses the reverse-proxy guard and is reachable by a client other than through the trusted proxy.
- Attack vector: network, no privileges and no user interaction required.
- Impact: an attacker can create an administrator account on a fresh instance, or impersonate existing users to access their 2FA secrets. This affects confidentiality, integrity and availability.
Affected software
- 2FAuth (Bubka/2FAuth) versions prior to 8.0.0
Severity
- CVSS v3.1 base score 9.8 (Critical):
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: upgrade 2FAuth to version 8.0.0 or later.
- If you cannot upgrade right away: if you use the reverse-proxy guard, make sure the application is reachable only through your trusted proxy. Review the user list for unexpected accounts, especially administrator accounts.

