← Back to search

CVE-2026-63438

9.8 CRITICALpublic exploit available

Published 2026-11-06 · Updated 2026-11-10

AI risk analysis

Summary
The flaw allows unauthenticated attackers to create or impersonate administrator accounts in 2FAuth by exploiting improper validation of reverse proxy authentication headers, leading to full system compromise including access to 2FA secrets.
Exploitability
Exploitation requires no authentication and can be performed remotely against a fresh or existing instance where AUTHENTICATION_GUARD=reverse-proxy-guard is enabled and the server does not enforce trusted proxy checks.
Blast radius
Successful exploitation grants full administrative control, enabling theft of 2FA secrets, account takeover, and potential lateral movement within the protected infrastructure.
Detection
Look for unexpected creation of new user accounts with administrative privileges in application logs, especially when accompanied by requests containing REMOTE_USER and mail headers from untrusted IP ranges or without prior successful authentication events.
Prioritized remediation
Upgrade to 2FAuth version 8.0.0 or later, which fixes the vulnerability by properly validating reverse proxy authentication headers.
auth-bypassprivilege-escalationweb-appreverse-proxy2fa

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

2FAuth is a web app to manage Two-Factor Authentication (2FA) accounts and generate their security codes. Prior to 8.0.0, when AUTHENTICATION_GUARD=reverse-proxy-guard accepts authentication headers from a client that did not pass through a trusted proxy, RemoteUserProvider::retrieveById() creates an account for an unknown REMOTE_USER, promotes the first created account to administrator, and synchronizes the account email from the configured mail header. An unauthenticated remote client can therefore create an administrator on a fresh instance or impersonate and redirect email for a known account, exposing 2FA secrets and administrative functions. This issue is fixed in version 8.0.0.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-287

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.