{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "8.0.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "52e9db94f2da2a6231d77c49537d6d88ce948ee1"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v8.0.0",
                "range": [
                  {
                    "fixed": "4efbf2cf69eef65e8e3fa7a62ac53fc517e5d851"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4efbf2cf69eef65e8e3fa7a62ac53fc517e5d851"
            },
            {
              "fixed": "52e9db94f2da2a6231d77c49537d6d88ce948ee1"
            }
          ],
          "repo": "https://github.com/bubka/2fauth",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-22mh-gmrh-gpwg"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-367",
      "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63440.json"
  },
  "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.",
  "id": "CVE-2026-63440",
  "modified": "2026-11-14T02:30:22.619618415Z",
  "published": "2026-11-06T20:18:43.907Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "2FAuth: Authenticated SSRF via DNS rebinding in the otpauth image= icon fetch (validate-then-fetch TOCTOU)"
}