/

CVE-2026-77316

Severity:

HIGH RISK

(7.1)

DNS-Rebinding SSRF (CWE-918) in Flyto2 Core URL Guard

CVE-2026-77316

Received

Vulnerability type

Category:

Server-Side Request Forgery (DNS rebinding)

CWE:

CWE-918

Impact:

Exposure of internal or metadata-service responses

Severity:

HIGH RISK

(7.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Flyto2 Core's outbound URL checks can validate a hostname against a public DNS answer, then allow a later lookup to resolve it to an internal address. If an attacker can control the hostname's DNS and time the change successfully, outbound requests may expose readable internal or metadata-service responses.

Affected context

The issue is in Flyto2 Core's outbound request protections, including validate_url_ssrf() and its guarded request and URL enforcement consumers. It occurs when validation and the eventual connection perform separate DNS lookups, leaving room for the answers to differ. Static DNS responses containing multiple addresses are checked and do not provide the same bypass; the issue is fixed in version 2.26.8.

Exploit preconditions

  • Attack surface: Outbound HTTP requests made through affected Flyto2 Core consumers
  • Required access: Ability to cause a caller to request a hostname whose DNS answers the attacker controls
  • Trigger point: URL validation followed by the outbound connection's independent DNS lookup
  • Why exploitation is possible: With low or zero DNS TTL behavior, an attacker may time a DNS answer change so validation sees a public address and the connection sees an internal one. The bypass is timing-dependent; static multiple-address answers are checked.

Why this happens

URL validation checks one DNS answer, but returns the hostname rather than binding the validated address to the eventual connection. A second lookup can therefore produce a different destination after validation. This time-of-check-to-time-of-use gap can bypass controls intended to prevent requests to internal services, mapping to CWE-918: Server-Side Request Forgery (SSRF).

Potential impact

  • Internal services could receive requests that passed public-address validation.
  • Readable responses from internal services could be exposed to the caller.
  • Responses from cloud metadata services could be disclosed, depending on the environment and available protections.

General mitigation guidance

Mitigations generally focus on ensuring the address checked by policy is the address used for the connection.

Common defensive patterns include:

  • Resolve hostnames once and bind the validated address to the outbound connection.
  • Revalidate every resolved address and reject destinations in restricted address ranges.
  • Apply outbound network policies that deny access to internal and metadata-service ranges unless explicitly required.
  • Reduce trust in caller-controlled hostnames and restrict which destinations workflows may request.
  • Run workflow components with least-privilege network access and limit access to sensitive response data.

How teams detect issues like this

High-level detection approaches include:

  • Review code for URL checks that validate DNS results but pass a hostname to a client that resolves it again.
  • Use static analysis to identify outbound request paths where validation and connection resolution are separate.
  • Test URL policy enforcement with controlled DNS changes and low-TTL records in an authorized environment.
  • Enforce egress policies and monitor requests to internal or metadata-service address ranges.
  • Use automated code review checks to flag DNS resolution and outbound request flows that lack address binding.

Sources

SourceLink
github.comgithub.com/flytohub/flyto-core/commit/bf748df864d348004cf45d830bc59f62c5c4a58a
github.comgithub.com/flytohub/flyto-core/releases/tag/v2.26.8
github.comgithub.com/flytohub/flyto-core/security/advisories/GHSA-6pm8-6f34-9v3g

Frequently asked

questions

It affects outbound request consumers that rely on the vulnerable validation flow. The bypass depends on a timed DNS answer change; static multiple-address answers are checked.

An attacker needs a way to influence the DNS answers for a hostname that a caller can cause Flyto2 Core to request. Exploitation also depends on suitable DNS TTL behavior and timing.

Ensure the destination address used for the connection is the one that was validated, and enforce destination restrictions at both application and network layers.

Treat caller-controlled hostnames as untrusted, avoid independent validation and connection lookups, and apply egress policies that limit access to sensitive network ranges.

Find out what's already
exploitable in your codebase.