{"id":"CVE-2026-63440","state":"PUBLISHED","title":"2FAuth: Authenticated SSRF via DNS rebinding in the otpauth image= icon fetch (validate-then-fetch TOCTOU)","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.","publishedAt":"2026-11-06T20:18:43.907Z","updatedAt":"2026-11-11T03:28:42.896Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["Bubka 2FAuth"],"affected":[{"vendor":"Bubka","product":"2FAuth","versions":[{"version":"< 8.0.0","status":"affected"}]}],"references":["https://github.com/Bubka/2FAuth/security/advisories/GHSA-22mh-gmrh-gpwg","https://github.com/Bubka/2FAuth/commit/52e9db94f2da2a6231d77c49537d6d88ce948ee1","https://github.com/Bubka/2FAuth/releases/tag/v8.0.0"],"weaknesses":["CWE-367","CWE-918"],"ingestedAt":"2026-11-11T03:32:07.893Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/63xxx/CVE-2026-63440.json","commit":"98522ad9288efa598f2153c9c6fa6b6aea401958","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-63440","state":"PUBLISHED","datePublished":"2026-11-06T20:18:43.907Z","dateUpdated":"2026-11-11T03:28:42.896Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-16T19:35:57.767Z"},"containers":{"cna":{"title":"2FAuth: Authenticated SSRF via DNS rebinding in the otpauth image= icon fetch (validate-then-fetch TOCTOU)","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Bubka","product":"2FAuth","versions":[{"version":"< 8.0.0","status":"affected"}]}],"references":[{"url":"https://github.com/Bubka/2FAuth/security/advisories/GHSA-22mh-gmrh-gpwg","name":"https://github.com/Bubka/2FAuth/security/advisories/GHSA-22mh-gmrh-gpwg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Bubka/2FAuth/commit/52e9db94f2da2a6231d77c49537d6d88ce948ee1","name":"https://github.com/Bubka/2FAuth/commit/52e9db94f2da2a6231d77c49537d6d88ce948ee1","tags":["x_refsource_MISC"]},{"url":"https://github.com/Bubka/2FAuth/releases/tag/v8.0.0","name":"https://github.com/Bubka/2FAuth/releases/tag/v8.0.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-367","lang":"en","description":"CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-918","lang":"en","description":"CWE-918: Server-Side Request Forgery (SSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-06T20:18:43.907Z"},"source":{"advisory":"GHSA-22mh-gmrh-gpwg","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/Bubka/2FAuth/security/advisories/GHSA-22mh-gmrh-gpwg","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-11T03:28:14.595265Z","id":"CVE-2026-63440","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-11T03:28:42.896Z"}}]}}}