{"id":"CVE-2026-63440","summary":"2FAuth: Authenticated SSRF via DNS rebinding in the otpauth image= icon fetch (validate-then-fetch TOCTOU)","details":"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.","aliases":["GHSA-22mh-gmrh-gpwg"],"modified":"2026-11-14T02:30:22.619618415Z","published":"2026-11-06T20:18:43.907Z","database_specific":{"cwe_ids":["CWE-367","CWE-918"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63440.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/Bubka/2FAuth/releases/tag/v8.0.0"},{"type":"ADVISORY","url":"https://github.com/Bubka/2FAuth/security/advisories/GHSA-22mh-gmrh-gpwg"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63440.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63440"},{"type":"FIX","url":"https://github.com/Bubka/2FAuth/commit/52e9db94f2da2a6231d77c49537d6d88ce948ee1"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bubka/2fauth","events":[{"introduced":"0"},{"fixed":"4efbf2cf69eef65e8e3fa7a62ac53fc517e5d851"},{"fixed":"52e9db94f2da2a6231d77c49537d6d88ce948ee1"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"8.0.0"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"52e9db94f2da2a6231d77c49537d6d88ce948ee1"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"4efbf2cf69eef65e8e3fa7a62ac53fc517e5d851"}],"source":"REFERENCES_TAG","original_tag":"v8.0.0"}]}}],"versions":["v7.0.1","v7.0.0","v6.1.3","v6.1.2","v6.1.1","v6.1.0","v5.6.0","v5.5.2","v5.5.1","v5.5.0","v5.4.3","v5.4.2","v5.4.1","v5.4.0","v5.3.2","v5.3.1","v5.3.0","v5.2.0","v5.1.1","v5.1.0","v5.0.4","v5.0.3","v5.0.2","v5.0.1","v5.0.0","v4.2.4","v4.2.3","v4.2.2","v4.2.1","v4.2.0","v4.1.0","v4.0.2","v4.0.1","v4.0.0","v4.0.0-beta.1","v3.4.1","v3.4.0","v3.3.3","v3.3.2","v3.3.1","v3.3.0","v3.2.0","v3.1.1","v3.1.0","v3.0.0","v2.1.0","v2.0.2","v2.0.1","v2.0.0","v1.3.1","v1.3.0","v1.2.0","v1.1.0","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63440.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N"}]}