CVE Catalog

CVE-2026-63441

MediumCVSS 4.9
Published: Translated: NVD NIST

Summary

In 2FAuth, ValidatesUrls::isPublicIp() does not recognize the 64:ff9b::/96 and 64:ff9b:1::/48 NAT64 prefixes, allowing bypass of private address validation. An otpauth URI image parameter can contain an IPv6 literal or DNS64-synthesized address whose embedded IPv4 target is private, link-local, loopback, or cloud metadata. As a result, IconService::buildFromRemoteImage() issues an HTTP GET to the internal target, enabling recovery of image-shaped responses or blind probing of other endpoints.

Risk Assessment

An authenticated user or an attacker-induced victim can exploit this to reach internal network resources, including cloud metadata services, potentially leading to data leakage or further privilege escalation. The risk applies to deployments with image fetching enabled and a NAT64 translation path.

Recommendation

Update 2FAuth to version 8.0.0 or later, which fixes this vulnerability. If updating is not possible, consider disabling external otpauth image fetching.

Other vulnerabilities in 2FAuth

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS