SECURITYCRITICALCVE-2026-63439

CVE-2026-63439: 2FAuth ReverseProxyGuard Trusts Identity Headers Without Proxy Check (CVSS 9.8)

2FAuth before 8.0.0 reads REMOTE_USER headers without verifying a trusted proxy sent them, allowing authentication bypass.

Dylan H.

Security Team

November 7, 2026
2 min read
CVE-2026-63439: 2FAuth ReverseProxyGuard Trusts Identity Headers Without Proxy Check (CVSS 9.8)

Critical severity

Rated critical. Prioritise patching — see the remediation guidance below.

Affected Products

  • 2FAuth before 8.0.0 with AUTHENTICATION_GUARD=reverse-proxy-guard

Overview

CVE-2026-63439 is a critical (CVSS 9.8) improper authentication vulnerability (CWE-287) in 2FAuth. When AUTHENTICATION_GUARD=reverse-proxy-guard is enabled, ReverseProxyGuard::user() reads the default REMOTE_USER identity header, or a custom header chosen through AUTH_PROXY_HEADER_FOR_USER, without confirming the request came from a configured trusted proxy. Fixed in 2FAuth 8.0.0; published November 6, 2026.

FieldDetails
CVE IDCVE-2026-63439
CVSS Score9.8 (Critical)
CWECWE-287 (Improper Authentication)
Affected Software2FAuth before 8.0.0 (reverse-proxy-guard mode only)
Fixed Version8.0.0
AdvisoryGHSA-mh8r-74x2-r457

Vulnerability Details

Reverse-proxy authentication delegates login to a front-end such as Authelia, Authentik or an SSO proxy, which sets a header naming the authenticated user. That model is only safe if the application ignores the header unless the request truly arrived via that proxy. In affected versions, the guard trusted the header from any client. Anyone able to reach 2FAuth directly can send a header naming a victim and be treated as that user.

This is the authentication half of the problem. The account auto-creation and admin promotion behavior is covered in CVE-2026-63438.

Impact

  • Full login as any user whose name the attacker can supply
  • Access to stored TOTP secrets and generated codes
  • Likely compromise of other accounts protected by those codes

Exploitation Status

No public exploit code is confirmed and the CVE is not in CISA's KEV catalog. OffSeq states its sensors saw either attack traffic or exposed hosts for this CVE, without making clear which.

Remediation

  1. Upgrade to 2FAuth 8.0.0 or later.
  2. Restrict network access so only the trusted reverse proxy can reach the application.
  3. Configure the proxy to strip any client-supplied REMOTE_USER or custom identity header before setting its own.
  4. Review authentication logs for logins that did not pass through your SSO provider.

References