Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEnumerate valid email via forgot-password oracle
-
DeliverySend reset request with forged Host header
-
Exploit2FAuth emails victim poisoned reset link
-
ExecutionVictim clicks, token leaks to attacker server
-
PersistAttacker replays token to reset password
-
ImpactFull account takeover, TOTP/HOTP secrets exposed
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Password recovery security
|
| Exploitation Conditions | Exploitation requires that the 2FAuth deployment accepts arbitrary HTTP Host headers - the default state in versions before 9.0.1, since the TrustHosts middleware is shipped commented out in app/Http/Kernel.php and the app never pins the URL root to APP_URL. The official Docker image is directly vulnerable because its bundled nginx has no server_name and serves on any Host, passing the forged header straight to PHP. The attacker needs no authentication (PR:N) but DOES need the victim to click the poisoned reset/WebAuthn-recovery link (UI:P), and needs a valid target email - aided by the forgot-password endpoint's enumeration oracle (200 = exists, 422 = unknown). Limiting factors: success depends on victim interaction and on the instance not sitting behind a reverse proxy that validates/pins the Host header or sets a strict server_name; a front-end proxy enforcing an allowed host neutralizes the attack. Complete fix is upgrading to 9.0.1, which roots reset and WebAuthn-recovery links on config('app.url'). |
| Impact | Signals are largely consistent and point to a genuine priority rather than CVSS inflation. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, VC:H/VI:H, score 8.6) describes a network-reachable, low-complexity, unauthenticated flaw whose only gating factor is that the victim must click the poisoned reset link (UI:P). This is corroborated by the mechanism: the forgot-password endpoint is unauthenticated and the host allow-list (TrustHosts) ships commented out, so the attack is reproducible against default configurations - the researcher verified a live install emitting reset links on the forged Host. A detailed, author-verified proof-of-concept is embedded directly in the GHSA advisory and the VulnCheck advisory, so this is well beyond theoretical. Tempering signals: the CVE is NOT listed in CISA KEV and no EPSS score is provided in the input, so there is no evidence of active, widespread exploitation yet; the vuln.today decision label is 'this_week' (not act_now/emergency), and exploitation still depends on social engineering the victim into clicking. Net: credible, practically exploitable account-takeover with a public PoC and a vendor patch, warranting prompt (this-week) remediation, but not currently confirmed as exploited in the wild. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a 'forgot password' (or WebAuthn recovery) request for a known 2FAuth user - for example the admin - while forging the HTTP Host header to an attacker-controlled domain; the victim receives a legitimately-sent email whose 'Reset Password' button points at the attacker's host but carries a valid token. When the victim clicks, their browser hands the live token to the attacker, who replays it against the real instance to reset the password and seize the account, exposing all stored TOTP/HOTP seeds. A full working PoC (including an email-enumeration oracle to select valid targets) is published in the vendor's GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Host header injection in 2FAuth before 9.0.1 lets an unauthenticated attacker poison the password-reset and WebAuthn-recovery emails so the victim's valid reset token is delivered to an attacker-controlled domain, enabling full account takeover - including the admin account - and exposing every stored TOTP/HOTP seed. The forgot-password endpoint also acts as an email enumeration oracle (200 for registered addresses, 422 for unknown), helping attackers pick targets. Successful exploitation requires the victim to click the poisoned link (UI:P); publicly available PoC code exists and default installs, notably the official Docker image whose nginx has no server_name, pass forged Host headers straight to PHP. Rated 8.6 (CVSS 4.0) and triaged as this_week priority; patched in 9.0.1.
RemediationAI
Vendor-released patch: 9.0.1 (tag https://github.com/Bubka/2FAuth/releases/tag/v9.0.1, fix commit 35ce085b69f9f5044dfb94017c3f27c1dc2668f3); upgrade all instances running 9.0.0 or earlier, as this is the complete fix per the vendor advisory (GHSA-v9qw-r94g-95qv). If upgrading is not immediately possible, the effective compensating control is to terminate traffic behind a reverse proxy that validates and pins the Host header (or sets a strict server_name) and rejects requests with unexpected Host values - a deployment whose front end enforces an allowed host neutralizes the attack, at the cost of requiring that proxy configuration to be complete for all vhosts. Re-enabling the shipped-but-commented TrustHosts middleware in app/Http/Kernel.php, and pinning the URL root to APP_URL (ResetPassword::createUrlUsing plus config('app.url')-rooted WebAuthn links, as the fix commit does), replicate the upstream correction locally, but these are code modifications that must be maintained across updates.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
2FAuth is a Laravel-based PHP application acting as a TOTP/HOTP vault. The flaw is CWE-640 (weak password recovery) compounded by CWE-348 (use of less trusted source) and CWE-20. Laravel's stock ResetPassword notification builds its link with the url() helper, which derives scheme and host from the active request rather than from configuration. Two safeguards would prevent this: registering the TrustHosts middleware allow-list, or forcing the URL root via URL::forceRootUrl / ResetPassword::createUrlUsing. 2FAuth does neither - app/Http/Kernel.php ships TrustHosts commented out at line 47, and app/Notifications/ResetPassword.php only customizes wording while passing the framework-supplied $url straight to the mail button. The WebAuthn recovery notification in app/Notifications/WebauthnRecoveryNotification.php (lines 62-64) uses the identical url(route(..., false)) pattern. The vendor fix roots both link builders on config('app.url') via rtrim(...) . route(..., false) and adds a ResetPassword::createUrlUsing callback in AuthServiceProvider, with regression tests asserting the forged Host does not appear in rendered mail. Deployment detail matters: the official Docker image's bundled nginx declares no server_name, so any Host reaches PHP, but a front-end reverse proxy that validates or pins Host neutralizes the attack.
Know when 2fauth gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Network-reachable unauthenticated request (AV:N/PR:N) with low complexity, but requires the victim to click the poisoned link (UI:R); account takeover plus seed exposure gives C:H/I:H, no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
2FAuth before 9.0.1 contains a weak password recovery vulnerability that allows unauthenticated attackers to poison reset links by forging the HTTP Host header. Attackers can request password or WebAuthn recovery emails with an attacker-controlled host, capture the victim's token, and take over accounts exposing stored TOTP/HOTP secrets.
Technical POC Analysis
Primary weakness CWE-640 (weak password recovery mechanism); the advisory also tags CWE-348 (use of a less trusted source) and CWE-20.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The 2FAuth application, used for multi-factor authentication, has a high-severity vulnerability that allows unauthenticated attackers to hijack password reset emails and take over accounts, including administrators. This could lead to the compromise of all stored TOTP/HOTP seeds, severely undermining the security of protected systems. Leadership should prioritize immediate remediation to prevent potential widespread unauthorized access.
Apply vendor patch (version 9.0.1).
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
2FAuth is a web app to manage Two-Factor Authentication (2FA) accounts and generate their security codes. Rated high sev
2FAuth is a web app to manage Two-Factor Authentication (2FA) accounts and generate their security codes. Rated medium s
2FA is a Web app to manage Two-Factor Authentication (2FA) accounts and generate their security codes. Rated medium seve
Unauthenticated remote attackers can gain full administrative control of a fresh 2FAuth instance, or impersonate known u
Unauthenticated account takeover of 2FAuth deployments that run the opt-in reverse-proxy-guard mode: any client able to
Blind SSRF in 2FAuth 2FA manager before 6.1.0.
Missing per-resource authorization in 2FAuth's share recipients endpoint (all versions prior to 8.0.0) lets any authenti
2FAuth versions up to and including 7.0.1 are exposed to authenticated server-side request forgery through the otpauth i
Server-side request forgery in 2FAuth 6.1.0 through 7.0.1 lets the app's remote-image fetch reach internal IPv4 targets
EUVD-2026-125094
GHSA-8gqf-76mr-8wvc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB