# CVE-2026-63440: 2FAuth: Authenticated SSRF via DNS rebinding in the otpauth image= icon fetch (validate-then-fetch TOCTOU)

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-06T20:18:43.907Z
- Modified: 2026-11-12T22:11:01.153Z
- Weaknesses: CWE-367, CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Bubka 2FAuth: < 8.0.0

## References

- <https://github.com/Bubka/2FAuth/security/advisories/GHSA-22mh-gmrh-gpwg> (exploit)
- <https://github.com/Bubka/2FAuth/commit/52e9db94f2da2a6231d77c49537d6d88ce948ee1>
- <https://github.com/Bubka/2FAuth/releases/tag/v8.0.0>

## Sources

- CVE List: [CVE-2026-63440](https://www.cve.org/CVERecord?id=CVE-2026-63440), CVE Terms of Use, modified 2026-11-11
- NVD: [CVE-2026-63440](https://nvd.nist.gov/vuln/detail/CVE-2026-63440), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-63440 · Whole record: https://cve.day/CVE-2026-63440.json · Rebuilt by cve.day 2026-11-25T22:59:49.326Z
