Skip to main content

2FAuth EUVDEUVD-2026-118489

| CVE-2026-63441 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-11-06 GitHub_M
4.9
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain account or induce victim import
  2. Delivery
    Craft otpauth image= URI with NAT64 address
  3. Exploit
    Guard misclassifies NAT64 prefix as public
  4. Execution
    IconService issues HTTP GET
  5. Persist
    NAT64 gateway translates to internal/metadata IPv4
  6. Impact
    Image-shaped response stored and exfiltrated

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Three concrete, stacking prerequisites: (1) the operator must set BLOCK_OPTAUTH_IMAGELINK_FETCHING=false - it defaults to true (fetching disabled), so default deployments are not exposed; (2) a NAT64/DNS64 translation gateway must sit on the path between the 2FAuth host and the internal IPv4 target (common in IPv6-only and dual-stack AWS/GCP/Azure networks but not universal - without it the connection to 64:ff9b:1::a9fe:a9fe simply fails and metadata is unreachable); (3) the attacker must be an authenticated account holder submitting a crafted otpauth image= URI (PR:L), or must induce a victim to import a crafted URI/migration payload. The underlying guard defect specifically is that ValidatesUrls::isPublicIp() does not recognize the NAT64 prefixes 64:ff9b::/96 (RFC 6052) and 64:ff9b:1::/48 (RFC 8215), and IsIMDS() matches only the literal 169.254.169.254, not its NAT64-embedded form.

Impact

This is a genuine but conditional SSRF (CWE-918) that most teams can treat as medium priority rather than an emergency, consistent with the vuln.today 'this_month' decision label and the vendor CVSS 4.0 base score of 4.9. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N) tells the real story: network reachable and low complexity, but AT:P flags a specific attack requirement - a NAT64/DNS64 translation path must exist between the 2FAuth host and the internal IPv4 target - and PR:L means an authenticated account holder is needed (or a victim induced to import a crafted URI). Impact is confined to a subsequent system: VC/VI/VA are all N (no impact on the 2FAuth host itself) while SC:H captures confidential disclosure of an internal/cloud-metadata endpoint reached through the gateway. No EPSS score and no KEV listing were supplied, so there is no evidence of active or widespread exploitation; absence of EPSS/KEV is not itself a defect but means probability cannot be quantified from the input. The strongest exploitation signal is the GHSA advisory itself, which includes a verified end-to-end reproduction against the pinned 2fauth/2fauth:6.1.3 image showing the guard returning allowed=YES for 64:ff9b:1::a9fe:a9fe and a successful fetch. Net: real and well-documented, but gated behind a non-default config flag and a NAT64 deployment, so it is a scheduled-patch item, not a drop-everything incident, for the typical deployment.

Exploit ScenarioDerived

In a 2FAuth deployment with BLOCK_OPTAUTH_IMAGELINK_FETCHING set to false and a NAT64/DNS64 gateway on the path, an authenticated account holder adds a 2FA account whose otpauth:// URI carries image=http://[64:ff9b:1::a9fe:a9fe]/latest/meta-data/... (or a hostname whose AAAA is DNS64-synthesised to that address); the hand-rolled SSRF guard misclassifies the NAT64 address as public and IconService issues the HTTP GET, which the gateway translates to 169.254.169.254, reaching cloud instance metadata. An external attacker can achieve the same by inducing a victim to import a crafted URI or migration payload. A detailed, verified reproduction is published in the GHSA advisory (GHSA-wc8m-7c5g-xrrc); it is not distributed as a packaged weaponized exploit.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 06, 2026

Server-side request forgery in 2FAuth 6.1.0 through 7.0.1 lets the app's remote-image fetch reach internal IPv4 targets - including cloud metadata at 169.254.169.254 - through IPv6 NAT64 addresses that the application's hand-rolled SSRF guard does not recognize. The guard checks only literal private/reserved ranges and the literal metadata IP, so a crafted otpauth:// image= parameter (IPv6 literal or DNS64-synthesized hostname) passes validation and IconService::buildFromRemoteImage() issues an HTTP GET that a NAT64 gateway translates to the internal address. Exploitation stacks three conditions: BLOCK_OPTAUTH_IMAGELINK_FETCHING must be set to false (it defaults to true, so fetching is off by default), a NAT64/DNS64 gateway must exist on the path, and the actor must be an authenticated account holder or induce a victim to import a crafted URI/migration payload; no public exploit code or active exploitation has been identified, and the vendor fixed the flaw in 8.0.0.

RemediationAI

Vendor-released patch: upgrade to 2FAuth 8.0.0 (or later), which adds the isBlockedNat64() guard that decodes the embedded IPv4 in both 64:ff9b::/96 and 64:ff9b:1::/48 addresses and re-applies the full public-IP policy - see the advisory at https://github.com/Bubka/2FAuth/security/advisories/GHSA-wc8m-7c5g-xrrc, the fix commit df19e7533082671ecc2e0c735adcd51e93b1cb4c, and the release at https://github.com/Bubka/2FAuth/releases/tag/v8.0.0. If upgrading is not immediately possible, the decisive compensating control is to leave BLOCK_OPTAUTH_IMAGELINK_FETCHING at its default true (or set it to true) so otpauth imagelink icons are never fetched; this removes the vulnerable code path entirely at the cost of losing remote icon fetching, and the guard defect becomes unreachable. Operators who must keep imagelink fetching enabled reduce reach by ensuring no NAT64/DNS64 translation route from the 2FAuth host to link-local/metadata, RFC 1918, loopback or CGNAT space exists, accepting that this depends on network topology rather than application logic. Note that the request is issued by the server after an account holder imports a crafted otpauth URI or migration payload, so restricting who can import external account data is an additional containment measure.

Affected VersionsENISA

2FAuth 6.1.0, < 8.0.0

Affected Packages

euvd 2fauth fix: 8.0.0

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

The affected code is a hand-rolled SSRF filter in app/Services/Traits/ValidatesUrls.php (used by IconService in the Laravel-based PHP application). isPublicIp() combines PHP's filter_var() with FILTER_FLAG_NO_PRIV_RANGE and FILTER_FLAG_NO_RES_RANGE plus manual helpers for carrier-grade NAT, multicast and an IsIMDS() equality check against the literal string '169.254.169.254'. Neither filter_var flag classifies the NAT64 prefixes 64:ff9b::/96 (RFC 6052 well-known prefix) or 64:ff9b:1::/48 (RFC 8215 local-use prefix) as reserved or private, so these transition addresses are treated as public. Because DNS64 synthesizes AAAA records by embedding an IPv4 address in the NAT64 prefix, an attacker-supplied URL - either an IPv6 literal like http://[64:ff9b:1::a9fe:a9fe]/ or a hostname resolved through DNS64 - embeds an internal IPv4 destination such as 169.254.169.254, 127.0.0.1 or an RFC 1918 address, and a NAT64 gateway performs the actual translation. The isExternalHost() path is affected too, since it resolves A/AAAA records with dns_get_record() and runs each through the same isPublicIp() check. The sink is IconService::buildFromRemoteImage(), invoked when an imported otpauth:// URI carries an image= parameter; the fetched bytes are stored as an account icon and surfaced back to the user, giving a response-exfiltration channel for image-shaped internal endpoints and a blind probe for others. The vendor's fix adds an isBlockedNat64() check that decodes the low 32 bits as IPv4 and re-applies the existing public-IP policy, failing closed if decoding is impossible. This is CWE-918 (SSRF); the inadequate-allowlist root cause resembles CWE-184 rather than any memory-safety class.

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

Vendor (GitHub_M) PRIMARY 4.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
vuln.today AI 6.3 MEDIUM

NAT64 gateway requirement plus crafting drive AC:H; an authenticated account is needed so PR:L; the request reaches a separate internal/metadata system (S:C) disclosing its response, with no integrity or availability impact.

3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 06, 2026 - 21:03 EUVD

DescriptionCVE.org

2FAuth is a web app to manage Two-Factor Authentication (2FA) accounts and generate their security codes. From 6.1.0 until 8.0.0, App\Services\Traits\ValidatesUrls::isPublicIp() does not recognize the 64:ff9b::/96 and 64:ff9b:1::/48 NAT64 prefixes, so an otpauth URI image parameter can pass an IPv6 literal or DNS64-synthesized address whose embedded IPv4 target is private, link-local, loopback, or cloud metadata. In a deployment with image fetching enabled and a NAT64 translation path to the internal IPv4 target, an account holder can submit the crafted URI directly, or an external attacker can induce a victim to import a crafted URI or migration payload. IconService::buildFromRemoteImage() then issues an HTTP GET to the embedded target, allowing image-shaped responses to be recovered or other endpoints to be probed blindly. This issue is fixed in version 8.0.0.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Low
self-hosted open-source 2FA manager, niche hobbyist/homelab footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy