CVE-2026-77313
Flyto2 Core: SSRF guard validates the resolved IP but connects by hostname, allowing DNS-rebinding TOCTOU
Impact
Flyto2 Core is an execution kernel for automation and AI-agent workflows. Prior to 2.26.8, validate_url_ssrf in src/core/utils.py resolves and checks a hostname but returns the hostname URL rather than the validated address, and session.get in http.get performs an independent DNS lookup when connecting. A low-privileged caller with control of the hostname's DNS can make the first lookup return a public address and the connection-time lookup return an internal address, bypassing the SSRF guard for all modules that call it and exposing readable internal or metadata-service responses. Successful exploitation requires attacker-controlled DNS and a successful timing-dependent answer change between the two lookups. This issue is fixed in version 2.26.8.
An attacker can exploit this over the network, with a regular user account, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | flyto-core | <= 2.26.7 | 2.26.8 |
Affected products · Flytohub
| Product | Affected versions |
|---|---|
| Flyto-core | before 2.26.8 Version < 2.26.8 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/flytohub/flyto-core/security/advisories/GHSA-pfg2-w999-497v
- https://github.com/flytohub/flyto-core/commit/bf748df864d348004cf45d830bc59f62c5c4a58a
- https://github.com/flytohub/flyto-core/releases/tag/v2.26.8
- https://github.com/advisories/GHSA-pfg2-w999-497v