Flyto2 Core fixes DNS rebinding flaw that could bypass SSRF protection

  • Flyto2 Core
  • SSRF
  • DNS rebinding

DNS rebinding flaw enables SSRF bypass

Update to version 2.26.8 for fix

Flyto2 Core maintainers fixed a server-side request forgery (SSRF) vulnerability caused by DNS rebinding. The fix is available in version 2.26.8; the original advisory gives no date for the change.

The flaw affected Flyto2 Core versions 2.26.7 and earlier. Its `validate_url_ssrf` function resolved a hostname to check it, then connected without pinning the validated IP address. DNS rebinding could change the address between those steps and bypass the SSRF guard, which is intended to prevent requests to unsafe destinations.

The advisory’s remediation is to resolve the hostname once, validate the returned IP address and connect to that pinned address rather than the hostname, so the address checked is the one reached by the connection.