CVE-2026-63440: 2FAuth - Server-Side Request Forgery
- Cve: CVE-2026-63440
- Name: 2FAuth - Server-Side Request Forgery
- Description: 2FAuth is a web app to manage Two-Factor Authentication (2FA) accounts and generate their security codes. Prior to 8.0.0, the otpauth image-fetch path validates a hostname through ValidatesUrls::isExternalHost() and then lets IconService::storeRemoteImage() resolve the same hostname again for the HTTP request. When external otpauth image fetching is enabled, an authenticated user controlling low-TTL authoritative DNS can return a public address during validation and an internal address during the later connection, bypassing the private-address deny list to reach loopback, private-network, link-local, or cloud metadata endpoints. This issue is fixed in version 8.0.0.
- Impact: Authenticated attackers can access internal services, potentially exposing sensitive data or enabling further attacks.
- Remediation: Upgrade to version 8.0.0.
- Vulnerability type: server_side_request_forgery
- Requirement type: logged_in
- Requirements: Attacker must be authenticated and control low-TTL authoritative DNS; external otpauth image fetching must be enabled.
- Labels source: securitycontext
- Severity: medium
- Cvss score: 5.9
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
- Epss score: 0.00284
- Epss percentile: 0.2104
- Assignee: [email protected]
- Published at: 2026-11-06T21:17:10Z
- Age in days: 18
- Modified at: 2026-11-12T22:11:01Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-63440
- Nvd status: deferred
- Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-367 | Time-of-check Time-of-use (TOCTOU) Race Condition |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| 2fauth:2fauth | < 8.0.0 | no | cna_alias_text | /v1/products/2fauth/2fauth |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| Bubka/2FAuth | commit, releases, security_advisory | yes | /v1/repositories/Bubka/2FAuth |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts